aboutsummaryrefslogtreecommitdiffstats
path: root/community/esh/APKBUILD
blob: fd77f41980014e89c795f1b34a89274eac90a3c0 (plain)
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
# 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"