diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-06-23 04:41:18 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-06-23 04:41:18 +0000 |
commit | 5383b7106d8806da086b9fd7fa88b66ab4c0ef0c (patch) | |
tree | 8c1232b483d8353cd5b9ceb718df686b4db52be9 | |
parent | 0e3a53c7a0683a2c814a84b9bdf6b9b9bb7497be (diff) | |
download | packages-5383b7106d8806da086b9fd7fa88b66ab4c0ef0c.tar.gz packages-5383b7106d8806da086b9fd7fa88b66ab4c0ef0c.tar.bz2 packages-5383b7106d8806da086b9fd7fa88b66ab4c0ef0c.tar.xz packages-5383b7106d8806da086b9fd7fa88b66ab4c0ef0c.zip |
user/mawk: New package
-rw-r--r-- | user/mawk/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/user/mawk/APKBUILD b/user/mawk/APKBUILD new file mode 100644 index 000000000..2b1e8770b --- /dev/null +++ b/user/mawk/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=mawk +pkgver=20161120 +pkgrel=0 +pkgdesc="Pattern scanning and text processing language" +url="http://invisible-island.net/mawk/mawk.html" +arch="all" +license="BSD-3-Clause" +subpackages="$pkgname-doc" +source="http://invisible-mirror.net/archives/$pkgname/$pkgname-1.3.4-$pkgver.tgz" +builddir="$srcdir/$pkgname-1.3.4-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +check() { + cd "$builddir" + make check +} + +sha512sums="c5edcbff4ab1e40eb9b178a045fcd426a5f3c93a3ab5bc1ca1fa85a0977b8c9060967fcbda4e4a6e9e68628f50a2814e22939676008dced529377d2cf9bda5b2 mawk-1.3.4-20161120.tgz" |