pkgname=gawk
pkgver=5.3.0
pkgrel=1
arch=('armv7h' 'aarch64')
license=('unknown')
source=("$pkgname-$pkgver.tar.xz")
prepare() {
cd "$pkgname-$pkgver"
sed -i 's/extras//' Makefile.in
}
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
ln -sv gawk.1 "$pkgdir"/usr/share/man/man1/awk.1
}
sha256sums=('ca9c16d3d11d0ff8c69d79dc0b47267e1329a69b39b799895604ed447d3ca90b')