~dricottone/huttese-apk

ref: a0f29e20ac4ace318da44b104b6ea19a54d66e36 huttese-apk/sr.ht/py3-scmsrht/APKBUILD -rw-r--r-- 801 bytes
a0f29e20 — Drew DeVault sr.ht/py3-vine: bump pkgrel 4 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
35
36
37
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgbase=scm.sr.ht
pkgname=py3-scmsrht
pkgver=0.12.3
pkgrel=1
pkgdesc="sr.ht shared code"
url="https://git.sr.ht/~sircmpwn/scm.sr.ht"
arch="noarch"
license="BSD"
depends="
	builds.sr.ht
	py3-srht
"
makedepends="
	py-setuptools
	nodejs-npm
	git
"
source="
	$pkgbase-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgbase/archive/$pkgver.tar.gz
"
builddir="$srcdir/$pkgbase-$pkgver"
options="$options !check"

build() {
	cd "$builddir"
	export PKGVER=$pkgver
	python3 setup.py build
}

package() {
	cd "$builddir"
	export PKGVER=$pkgver
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="ff7fdd9c40d5d293e6cf84b105192763f5d6a8905db02efa46ae19d7da02a4b1a34761a92ee09d57dd804c1e120873f00d833778d048a28ab3acc796b223380c  scm.sr.ht-0.12.3.tar.gz"