# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=git-send-email.io
pkgver=0.1.9
pkgrel=0
pkgdesc="Interactive tutorial for git send-email"
url="https://git.sr.ht/~sircmpwn/git-send-email.io"
arch="noarch"
license="MIT"
depends="
py3-srht
py3-pygit2
"
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() {
python3 setup.py build
}
package() {
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="
c5999241a152281b3d4f4e59b4d1b259a9c96f52ddd3d8b89068ce6e7e6f3415bbd8e432cefea981daec5c62a04aa414d86dc89d9bd192b063dca7366aaf529a git-send-email.io-0.1.9.tar.gz
b5c929644f6f4a36ff11bb34d5332e6091a7fd856dcd9aae770609c3fadd92cca0631e8c9edf27c55114da3547af99e5ca28d5c851fecd788b52b2925dd0ebf8 git-send-email.io.init
"