2023-11-04 14:01:52 +01:00
|
|
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
2022-03-20 13:19:37 +01:00
|
|
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
|
|
|
|
|
|
|
pkgname=gawk
|
2023-11-04 14:01:52 +01:00
|
|
|
pkgver=5.3.0
|
2024-08-28 14:20:20 +02:00
|
|
|
pkgrel=2
|
2022-03-20 13:19:37 +01:00
|
|
|
pkgdesc="GNU version of awk"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://www.gnu.org/software/gawk/"
|
2024-08-28 14:20:20 +02:00
|
|
|
license=('GPL-3.0-or-later')
|
2022-03-20 13:19:37 +01:00
|
|
|
depends=('sh' 'glibc' 'mpfr')
|
|
|
|
provides=('awk')
|
2022-11-24 00:33:52 +01:00
|
|
|
source=(https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
|
2022-03-20 13:19:37 +01:00
|
|
|
validpgpkeys=('D1967C63788713177D861ED7DF597815937EC0D2') # Arnold Robbins
|
2023-11-04 14:01:52 +01:00
|
|
|
sha256sums=('378f8864ec21cfceaa048f7e1869ac9b4597b449087caf1eb55e440d30273336'
|
2022-11-24 00:33:52 +01:00
|
|
|
'SKIP')
|
2022-03-20 13:19:37 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --without-libsigsegv
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|