ref: master
pkgs/rascunho/APKBUILD
# Maintainer: Pedro Lucas Porcellispkgname=rascunho pkgver=0.0.4 pkgrel=0 pkgdesc="a barebones markdown preview service" url="https://git.sr.ht/~porcellis/rascunho" arch="noarch" license="AGPLv3" depends=" py3-gunicorn py3-flask py3-mistune py3-sqlalchemy py3-psycopg2 py3-tz " makedepends="py-setuptools" subpackages="$pkgname-openrc" source=" $pkgname-$pkgver.tar.gz::https://git.sr.ht/~porcellis/$pkgname/archive/$pkgver.tar.gz rascunho.initd rascunho.confd " export PKGVER=$pkgver options="$options !check" # no testsuite install="$pkgname.pre-install" build() { python3 setup.py build } package() { python3 setup.py install --root="$pkgdir" --optimize=1 install -Dm755 "$srcdir"/rascunho.initd \ "$pkgdir"/etc/init.d/rascunho install -Dm644 "$srcdir"/rascunho.confd \ "$pkgdir"/etc/conf.d/rascunho } sha512sums=" 5e28ad845ea9db6595d09a6f23dd772692edf097b492aeffbc1f2efe1d553f7b8dfdac5fb26b7c15e59c13a5d150dcd940c4303af04973e0da96775ec60be2c6 rascunho-0.0.4.tar.gz 0d48f5c4e01ecc21c54be6b52bf3b8a576cfb57305b3a2c3cc83484bff4131e123d319e44c56ec6cca3c25b6f35754f629f094a94e0888950dc13d7a46c56cad rascunho.initd 1e00c452f699340728a686c3fac9821d0882a8a982b9e8fd20572762b474d0c74721902fb491b7df6a55f750d760ca5cc383972dc7d1c59ca69e2fe57012e24a rascunho.confd "