summaryrefslogtreecommitdiffstats
path: root/abs/core/gperf/PKGBUILD
blob: 944baf27c2ddba8ccefed88b3837d3b675c9894c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer:
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=gperf
pkgver=3.1
pkgrel=3
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})
sha1sums=('e3c0618c2d2e5586eda9498c867d5e4858a3b0e2'
          '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
}