jobcore/gawk/PKGBUILD

54 lines
1.4 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=gawk
pkgver=5.3.0
pkgrel=01
pkgdesc="GNU version of awk"
url="https://www.gnu.org/software/gawk/"
# groups=('base-devel')
depends=('sh' 'glibc' 'mpfr')
provides=('awk')
## options=('debug') ## uncomment this to have the debug pkg produced
source=(https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
#prepare() {
# cd ${pkgname}-${pkgver}
#
# # https://bugs.gentoo.org/868567
# patch -Np1 -i ../0001-Add-missing-UPREF.patch
#}
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
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL')
validpgpkeys=('D1967C63788713177D861ED7DF597815937EC0D2') # Arnold Robbins
sha256sums=(378f8864ec21cfceaa048f7e1869ac9b4597b449087caf1eb55e440d30273336 # gawk-5.3.0.tar.gz
da1cd0dff94c07476c58bd0d9d8ae8c07b84e38751dd268625f9a7a4e5ffbc32) # gawk-5.3.0.tar.gz.sig
## 8a8133fbcb82ade44eb1d870c6e43462348ef4579fa8a71e7045ca1a7df86d7c gawk-5.3.0-01-x86_64.pkg.tar.lz