jobextra/gperf/PKGBUILD-arch

34 lines
805 B
Plaintext

# Maintainer:
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gperf
pkgver=3.1
pkgrel=4
pkgdesc="Perfect hash function generator"
arch=('x86_64')
url="https://www.gnu.org/software/gperf/"
license=('GPL3')
depends=('gcc-libs' 'texinfo')
source=("https://ftp.gnu.org/pub/gnu/gperf/${pkgname}-${pkgver}.tar.gz"{,.sig})
sha256sums=('588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2'
'SKIP')
options=('!makeflags')
validpgpkeys=('EDEB87A500CC0A211677FBFD93C08C88471097CD') # Marcel Schaible <marcel.schaible@studium.fernuni-hagen.de>
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
}