~dricottone/huttese-apk

ref: 4ddbac319d942aa88350c72f6e1860bd19c8eb44 huttese-apk/sr.ht/git-send-email.io/APKBUILD -rw-r--r-- 1.1 KiB
4ddbac31 — Drew DeVault Remove upstreamed aports 4 years ago
                                                                                
6ede0c8e Drew DeVault
212faf91 Drew DeVault
6ede0c8e Drew DeVault
212faf91 Drew DeVault
6ede0c8e 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=git-send-email.io
pkgver=0.1.8
pkgrel=1
pkgdesc="Interactive tutorial for git send-email"
url="https://git.sr.ht/~sircmpwn/git-send-email.io"
arch="noarch"
license="MIT"
depends="
	py3-flask
	py3-pygit2
	py3-pystache
"
makedepends="py3-setuptools nodejs sassc"
subpackages="${pkgname}-openrc"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz
	git-send-email.io.init
"
builddir="$srcdir/$pkgname-$pkgver"
export PKGVER=$pkgver
options="$options !check"
install="$pkgname.post-install"

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

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
	mkdir -p "$pkgdir"/etc/init.d
	install -Dm755 "$srcdir"/git-send-email.io.init "$pkgdir"/etc/init.d/git-send-email.io
}

sha512sums="0597c88f2c15545aa54bc6f3e18a713ff9962eecd83c33c3c3006b062b550aae25db9ee5a7769f7603858b461df36dbec9ef058f5f9e9899e5179bf3eb5c458c  git-send-email.io-0.1.8.tar.gz
b5c929644f6f4a36ff11bb34d5332e6091a7fd856dcd9aae770609c3fadd92cca0631e8c9edf27c55114da3547af99e5ca28d5c851fecd788b52b2925dd0ebf8  git-send-email.io.init"