~dricottone/huttese-apk

ref: 4ddbac319d942aa88350c72f6e1860bd19c8eb44 huttese-apk/sr.ht/paste.sr.ht/APKBUILD -rw-r--r-- 1.3 KiB
4ddbac31 — Drew DeVault Remove upstreamed aports 4 years ago
                                                                                
c22847d0 Drew DeVault
cfed243d Drew DeVault
c22847d0 Drew DeVault
534bdde9 Drew DeVault
c22847d0 Drew DeVault
ec4d2192 Drew DeVault
c22847d0 Drew DeVault
fc48e48f Drew DeVault
c22847d0 Drew DeVault
ec4d2192 Drew DeVault
c22847d0 Drew DeVault
cfed243d Drew DeVault
ec4d2192 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
37
38
39
40
41
42
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=paste.sr.ht
pkgver=0.4.1
pkgrel=0
pkgdesc="sr.ht paste service"
url="https://git.sr.ht/~sircmpwn/paste.sr.ht"
arch="noarch"
license="AGPLv3"
depends="
	py3-gunicorn
	py3-srht
	py3-yaml
"
makedepends="py-setuptools nodejs sassc"
subpackages="${pkgname}-openrc"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz
	paste.sr.ht.initd
	paste.sr.ht.confd
"
builddir="$srcdir/$pkgname-$pkgver"
export PKGVER=$pkgver
options="$options !check"
install="$pkgname.post-install $pkgname.post-upgrade"

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
	install -Dm755 "$srcdir"/paste.sr.ht.initd \
		"$pkgdir"/etc/init.d/paste.sr.ht
	install -Dm644 "$srcdir"/paste.sr.ht.confd \
		"$pkgdir"/etc/confd.d/paste.sr.ht
}

sha512sums="89cde5f3610683bce275a651170c9967e48f12b559511065bf98202eebcebafeea4c2f3e18ea5d7e57a1cadc71bc60704984f517399b578651a3cad09ebec245  paste.sr.ht-0.4.1.tar.gz
d212f4e96a15b7db6f676a57ae9f8956456d3ec7d61e8cc2cfdcca30890cceaf1f38f87772f97143620ef9ec749fa54c3e0e1029e2a74b9dba95f1a571e0658b  paste.sr.ht.initd
5ad67f8d07683186fd8b25e4075f6b83754bfd1a6072a494641601a73941b32be018335539cf34d15eee2200f7067fb4cf6f0a064cadc34d0c0b834b1a938d70  paste.sr.ht.confd"