mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 12:47:16 +08:00
33 lines
840 B
Bash
33 lines
840 B
Bash
|
|
pkgname=gawk
|
|
pkgver=4.1.3
|
|
pkgrel=1
|
|
pkgdesc="The GNU awk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code."
|
|
arch=('x86_64')
|
|
url="http://www.gnu.org/software/gawk/"
|
|
license=('GPL')
|
|
groups=('base' 'base-devel')
|
|
depends=('sh' 'glibc' 'mpfr')
|
|
provides=('awk')
|
|
install=gawk.install
|
|
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
|
|
md5sums=('55d37f4069502677f25d1340df8eec97'
|
|
'SKIP')
|
|
validpgpkeys=('D1967C63788713177D861ED7DF597815937EC0D2') # Arnold Robbins
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure --prefix=/usr --libexecdir=/usr/lib --without-libsigsegv
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${pkgname}-${pkgver}
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
}
|