53 lines
1.4 KiB
Bash
53 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.2.2
|
|
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=(945aef7ccff101f20b22a10802bc005e994ab2b8ea3e724cc1a197c62f41f650 # gawk-5.2.2.tar.gz
|
|
c62800d10899dc37490e63eb7c05f456a74514515e5a75949369089848f1e481) # gawk-5.2.2.tar.gz.sig
|
|
|
|
## f8d524d29250ed03f48267533fac9bc230e40ebf059825b263653fc5121a3129 gawk-5.2.2-01-x86_64.pkg.tar.lz
|