~dricottone/huttese-apk

ref: 00c563ed26dcf9a4b4bb867905dc88e925262bd1 huttese-apk/sr.ht/pages.sr.ht/APKBUILD -rw-r--r-- 1.2 KiB
00c563ed — Simon Ser gamja: upgrade 2 years ago
                                                                                
5e79884b Drew DeVault
dc0e1b3f Drew DeVault
5e79884b Drew DeVault
dc0e1b3f Drew DeVault
5e79884b Drew DeVault
dc0e1b3f 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
35
36
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=pages.sr.ht
pkgver=0.4.8
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="
c6d30f7b3455ebe1c3535e6fdf65597b8957669c8eab7fca62cf5150f011f57a51a8ecf13c66ac035112e3db599fe210f2ea9b136ab2ac3e61ea2c19f830930a  pages.sr.ht-0.4.8.tar.gz
8f9b081409ac62996efea682da585a07fdc9390f6dc94cc567d80499a151793f46c7772cd8949eb5f7de30b4edda3a8e1f5e32bd9d64b29b972b92c37d397096  pages.sr.ht.initd
fe18b2df0f90104f2978b037992214746352ff97f680bc32b2c2c5dc5e0b63ad61b94f221d33fbb28a5fb6a76f3280436bfd6df0beb1792f98cec2406a878050  pages.sr.ht.confd
"