~dricottone/huttese-apk

ref: 2e51bf9f8be592d4d0ce825584ad1e173dabb0a1 huttese-apk/sr.ht/pages.sr.ht/APKBUILD -rw-r--r-- 1.2 KiB
2e51bf9f — Drew DeVault git-send-email.io: ditch pystache 3 years ago
                                                                                
5e79884b Drew DeVault
08f98cb1 Drew DeVault
5e79884b Drew DeVault
08f98cb1 Drew DeVault
5e79884b Drew DeVault
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.4.4
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="d4408422e5a40ae16d3c310444612dda8615ef597491db0b70387cf16738c0d165bbb0df63fa00cfe645facfcc45e5faf614becadac513e17dcd670953a1bdff  pages.sr.ht-0.4.4.tar.gz
8f9b081409ac62996efea682da585a07fdc9390f6dc94cc567d80499a151793f46c7772cd8949eb5f7de30b4edda3a8e1f5e32bd9d64b29b972b92c37d397096  pages.sr.ht.initd
fe18b2df0f90104f2978b037992214746352ff97f680bc32b2c2c5dc5e0b63ad61b94f221d33fbb28a5fb6a76f3280436bfd6df0beb1792f98cec2406a878050  pages.sr.ht.confd"