~dricottone/huttese-apk

ref: 2f89a5ea7b03c92921a1492c1637eaa1063a3dd7 huttese-apk/sr.ht/pages.sr.ht/APKBUILD -rw-r--r-- 1.2 KiB
2f89a5ea — Drew DeVault lists.sr.ht: upgrade to 0.48.19 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=pages.sr.ht
pkgver=0.1.1
pkgrel=0
pkgdesc="sr.ht web hosting service"
url="https://git.sr.ht/~sircmpwn/pages.sr.ht"
arch="all"
license="AGPLv3"
makedepends="go"
subpackages="$pkgname-openrc"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz
	pages.sr.ht.initd
	pages.sr.ht.confd
"
export PKGVER=$pkgver
options="$options !check"
install="$pkgname.post-install"

build() {
	go build -o pages.sr.ht
}

package() {
	install -Dm755 pages.sr.ht "$pkgdir"/usr/bin/pages.sr.ht
	install -Dm755 "$srcdir"/pages.sr.ht.initd \
		"$pkgdir"/etc/init.d/pages.sr.ht
	install -Dm644 "$srcdir"/pages.sr.ht.confd \
		"$pkgdir"/etc/conf.d/pages.sr.ht
}

sha512sums="196e9a8033e5bb51f0b5b20435079310f1ba18a2d7b4299221c2d715eaee401a96031a5f94c6160016b3f58e374e69029405e23618c863e2c0b873cadd7cb60f  pages.sr.ht-0.1.1.tar.gz
8f9b081409ac62996efea682da585a07fdc9390f6dc94cc567d80499a151793f46c7772cd8949eb5f7de30b4edda3a8e1f5e32bd9d64b29b972b92c37d397096  pages.sr.ht.initd
fe18b2df0f90104f2978b037992214746352ff97f680bc32b2c2c5dc5e0b63ad61b94f221d33fbb28a5fb6a76f3280436bfd6df0beb1792f98cec2406a878050  pages.sr.ht.confd"