aports/community/esh/APKBUILD
2017-11-20 18:19:33 +01:00

26 lines
702 B
Plaintext

# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=esh
pkgver=0.1.1
pkgrel=0
pkgdesc="Simple template system based on shell"
url="https://github.com/jirutka/esh"
arch="noarch"
license="MIT"
checkdepends="asciidoctor"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/jirutka/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" prefix=/usr install
}
sha512sums="dd952e87379c48cc99e34d1c5e3bb323e7b2d3a2f9bffcd5d9770889439bc96d69c5fb85531c116776855c7704835ff6f020e3f5e703dd0525ec850a1be10c19 esh-0.1.1.tar.gz"