54 lines
1.5 KiB
Bash
54 lines
1.5 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://git.disroot.org/joborun-pkg/jobcore/src/branch/main/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=gawk
|
|
pkgver=5.3.1
|
|
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-3.0-or-later')
|
|
|
|
validpgpkeys=('D1967C63788713177D861ED7DF597815937EC0D2') # Arnold Robbins
|
|
|
|
sha256sums=(fa41b3a85413af87fb5e3a7d9c8fa8d4a20728c67651185bb49c38a7f9382b1e # gawk-5.3.1.tar.gz
|
|
914e311fea0443b8cc3e18b8670deea2b135bb138b85f404a65aba1ee130b9ca) # gawk-5.3.1.tar.gz.sig
|
|
|
|
## 1c428d2d360e832284be7338e67e68f4baf2f69907835efbcbd62f543a2744dd gawk-5.3.1-01-x86_64.pkg.tar.lz
|
|
|