diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-11-12 10:53:36 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-11-12 10:53:59 +0100 |
commit | 3c2c53a87c8446b750c17c60dab2b23c8a856af8 (patch) | |
tree | 9871e21b99e5bb57d6c8ea8912c6f4bc193c52ed | |
parent | 812211cdd4c0ced2967a4e25b5c6bd1c9dd39fb1 (diff) | |
download | aports-3c2c53a87c8446b750c17c60dab2b23c8a856af8.tar.bz2 aports-3c2c53a87c8446b750c17c60dab2b23c8a856af8.tar.xz |
testing/shellcat: new aport
https://github.com/jwilk/shellcat
Templating system with shell syntax
-rw-r--r-- | testing/shellcat/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/shellcat/APKBUILD b/testing/shellcat/APKBUILD new file mode 100644 index 0000000000..d179765e3b --- /dev/null +++ b/testing/shellcat/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Jakub Jirutka <jakub@jirutka.cz> +# Maintainer: Jakub Jirutka <jakub@jirutka.cz> +pkgname=shellcat +pkgver=1.1.1 +pkgrel=0 +pkgdesc="Templating system with shell syntax" +url="https://github.com/jwilk/shellcat" +arch="all" +license="MIT" +checkdepends="coreutils" +makedepends="perl" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/jwilk/$pkgname/archive/$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + make + make -C doc +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" PREFIX=/usr install +} + +sha512sums="fe9438a9660549bf82deeeba2b5b2e115ba41742ab82f7631d8845c3dd146545f3a2baec1fc0b1f67af77a4bb1237ecd247cff9ad4053dbce72053d7b656e30c shellcat-1.1.1.tar.gz" |