diff options
author | Terror <mterron@users.noreply.github.com> | 2018-08-23 15:29:27 +1200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-09-04 11:22:52 +0000 |
commit | aeed3bb90839adebe0fd6dd668fcbe9b3cb9905a (patch) | |
tree | 5a9aa46260ef9b46d5fa9476f8fcfb19305b6273 | |
parent | e32381a303551c238d254d3f4b53518c2a7f562e (diff) | |
download | aports-aeed3bb90839adebe0fd6dd668fcbe9b3cb9905a.tar.bz2 aports-aeed3bb90839adebe0fd6dd668fcbe9b3cb9905a.tar.xz |
testing/mawk: new aport
mawk is an interpreter for the AWK Programming Language
https://invisible-island.net/mawk/
-rw-r--r-- | testing/mawk/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/mawk/APKBUILD b/testing/mawk/APKBUILD new file mode 100644 index 0000000000..08a04f5ad5 --- /dev/null +++ b/testing/mawk/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Miguel Terron <miguel.a.terron@gmail.com> +# Maintainer: Miguel Terron <miguel.a.terron@gmail.com> +pkgname=mawk +pkgver=1.3.4 +pkgdate=20171017 +pkgrel=0 +pkgdesc="mawk is an interpreter for the AWK Programming Language" +url="https://invisible-island.net/mawk/" +arch="all" +license="GPL-2" +makedepends="build-base" +subpackages="$pkgname-doc" +source="https://invisible-island.net/datafiles/release/mawk.tar.gz" + +builddir="$srcdir"/$pkgname-$pkgver-$pkgdate +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="4ed6ca0ecca12e7409d3d364b72dc6a2b411c61bf53fe8aa0b0cac65a3bdb941921c0b81d94f34c8ac9f4922c8c7566d347b5e6b5c74518ae3a88904f9e20f27 mawk.tar.gz" |