# Contributor: A. Wilcox # Maintainer: A. Wilcox pkgname=mawk pkgver=1.3.4.20190203 pkgrel=0 pkgdesc="Pattern scanning and text processing language" url="https://invisible-island.net/mawk/mawk.html" arch="all" license="BSD-3-Clause" subpackages="$pkgname-doc" _dlver="${pkgver%.*}-${pkgver##*.}" source="https://invisible-mirror.net/archives/$pkgname/$pkgname-$_dlver.tgz" builddir="$srcdir/$pkgname-$_dlver" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } package() { make DESTDIR="$pkgdir" install ln -s mawk "$pkgdir"/usr/bin/awk } check() { make check } sha512sums="64d5b1838d34d30e32966f46cb7457c865caccfe9fe1049d2645ba301b1ddb4efc18588115dbcf96234a2a0b791211a7f82264a3c81899459dc3029e65837646 mawk-1.3.4-20190203.tgz"