34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=gaypaste
|
|
pkgver=1.1.1
|
|
pkgrel=0
|
|
pkgdesc="paste"
|
|
url="https://git.ddd.rip/ptrcnull/gaypaste"
|
|
arch="all"
|
|
license="custom"
|
|
makedepends="go"
|
|
subpackages="$pkgname-openrc"
|
|
source="$pkgname-$pkgver.tar.gz::https://git.ddd.rip/ptrcnull/gaypaste/archive/v$pkgver.tar.gz
|
|
gaypaste.initd
|
|
gaypaste.confd
|
|
"
|
|
builddir="$srcdir/gaypaste"
|
|
options="!check" # lol
|
|
|
|
build() {
|
|
go build
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 gaypaste "$pkgdir"/usr/bin/gaypaste
|
|
|
|
install -Dm755 "$srcdir"/gaypaste.initd "$pkgdir"/etc/init.d/gaypaste
|
|
install -Dm644 "$srcdir"/gaypaste.confd "$pkgdir"/etc/conf.d/gaypaste
|
|
}
|
|
|
|
sha512sums="
|
|
361a51a857c5a832e692b8275c4b37aaa6d2ec972108bb7913e95041340bb5cdc13400ff1c7a14a208686a9bdef72aa63039a78507f4a5c4b5a16672df2beb25 gaypaste-1.1.1.tar.gz
|
|
1d664c9c327f4efd426fdc23674b0a00f61f2fcdbe2ac4d269abea9a893560144f97bae7c2ae989f39e8bcf36144b140c0bb1794da63191b046d1f087db62689 gaypaste.initd
|
|
4b4225cbeb60d5e2e0e222ddc0765b642f83f2043e7caff8b79298c8a2309d0315945219337b3dcb9f193e9b1ec9d5eea3bc3f5c815623218099f1bd9a0a57c7 gaypaste.confd
|
|
"
|