archrelease: copy trunk to extra-x86_64
[arch-packages.git] / gperf / trunk / PKGBUILD
blob6aa855d6f115fd13c62383749af9f546dc61fe66
1 # Maintainer:
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=gperf
5 pkgver=3.1
6 pkgrel=4
7 pkgdesc="Perfect hash function generator"
8 arch=('x86_64')
9 url="https://www.gnu.org/software/gperf/"
10 license=('GPL3')
11 depends=('gcc-libs' 'texinfo')
12 source=("https://ftp.gnu.org/pub/gnu/gperf/${pkgname}-${pkgver}.tar.gz"{,.sig})
13 sha256sums=('588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2'
14             'SKIP')
15 options=('!makeflags')
16 validpgpkeys=('EDEB87A500CC0A211677FBFD93C08C88471097CD') # Marcel Schaible <marcel.schaible@studium.fernuni-hagen.de>
18 build() {
19   cd ${pkgname}-${pkgver}
20   ./configure --prefix=/usr \
21     --docdir=/usr/share/gperf/doc/
22   make
25 check() {
26   cd ${pkgname}-${pkgver}
27   make check
30 package() {
31   cd ${pkgname}-${pkgver}
32   make DESTDIR="${pkgdir}" install