pacotes.eletrotupi.com

ref: master

pkgs/kaiowa/APKBUILD


# Maintainer: Pedro Lucas Porcellis 
pkgname=kaiowa
pkgver=0.0.2
pkgrel=0
pkgdesc="A simple irc bot"
options="!check" # No testsuite
url="https://git.sr.ht/~porcellis/kaiowa"
arch="all"
license="MIT"
subpackages="$pkgname-openrc"
makedepends="python3"
install="$pkgname.pre-install"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~porcellis/$pkgname/archive/$pkgver.tar.gz
	$pkgname.initd
"
pkggroups="kaiowa"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1

	install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
sha512sums="
b69239dc760d1ccf550f5e2b57e48c898f3f564dd265f74476382098688674a6af90af1b62253303080862c4ac1e19f4bebb16d598cca5a7c4b4d2c64401469c  kaiowa-0.0.2.tar.gz
fdb3f977bb9151c41e752e395d720a6dd5ed17ad19938f29f54bf0731ef8a80735be85d139980f59cfc2551cf57ad7876ce7411bc92aab434e0a932c7683890b  kaiowa.initd
"