45 lines
1.3 KiB
Bash
45 lines
1.3 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/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=gperf
|
|
pkgver=3.1
|
|
pkgrel=05
|
|
pkgdesc="Perfect hash function generator"
|
|
url="https://www.gnu.org/software/gperf/"
|
|
depends=('gcc-libs' 'glibc')
|
|
source=("https://ftp.gnu.org/pub/gnu/gperf/${pkgname}-${pkgver}.tar.gz"{,.sig})
|
|
options=('!makeflags')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure --prefix=/usr \
|
|
--docdir=/usr/share/gperf/doc/
|
|
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=('EDEB87A500CC0A211677FBFD93C08C88471097CD') # Marcel Schaible <marcel.schaible@studium.fernuni-hagen.de>
|
|
|
|
sha256sums=(588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2 # gperf-3.1.tar.gz
|
|
0554c9102d257d266bb4d9fb4bf76737abcecfc84a06884de84f8f8ff21c23e0) # gperf-3.1.tar.gz.sig
|
|
|
|
## d1c694d311f145a9aa3cbd80ad3fe5140ddf16f5f57f53111673af7d8b0633ea gperf-3.1-05-x86_64.pkg.tar.lz
|