aboutsummaryrefslogtreecommitdiffstats
path: root/community/esh/APKBUILD
blob: 4e3278ba8ea7c69d42acb59f6240f65045fd139c (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.3.0
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="6c1a55a9301af37272223b1155b69000667bb86fb95e5533ee08ecafbaaafb3d93a63e538b8511e33268dfc04a9cbb767308bc5795e019b90c72e8ce687d55b6  esh-0.3.0.tar.gz"