archrelease: copy trunk to extra-x86_64
[arch-packages.git] / gperf / trunk / PKGBUILD
blob944baf27c2ddba8ccefed88b3837d3b675c9894c
1 # Maintainer:
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=gperf
5 pkgver=3.1
6 pkgrel=3
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 sha1sums=('e3c0618c2d2e5586eda9498c867d5e4858a3b0e2'
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