pkgs/gawk/PKGBUILD

24 lines
556 B
Bash

# Maintainer: Daryl Ronningen <relms@relms.dev>
pkgname=gawk
pkgver=5.3.0
pkgrel=1
pkgdesc="GNU version of awk"
arch=("x86_64")
url="https://www.gnu.org/software/gawk/"
license=("GPL")
depends=("readline" "mpfr" "gmp" "ncurses")
source=("https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=("378f8864ec21cfceaa048f7e1869ac9b4597b449087caf1eb55e440d30273336")
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
}