pkgs/gawk/PKGBUILD

25 lines
556 B
Text
Raw Permalink Normal View History

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