blob: fa560e23b5081cd0868fb7dd2d6350bfb621a18e (
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
|
# $Id: PKGBUILD 125923 2011-05-31 21:45:14Z andrea $
# Maintainer:
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gperf
pkgver=3.0.4
pkgrel=3
pkgdesc="Perfect hash function generator"
arch=('x86_64' 'i686')
url="http://www.gnu.org/software/gperf/"
license=('GPL3')
depends=('gcc-libs' 'texinfo')
install=gperf.install
source=("http://ftp.gnu.org/pub/gnu/gperf/${pkgname}-${pkgver}.tar.gz")
md5sums=('c1f1db32fb6598d6a93e6e88796a8632')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
./configure --prefix=/usr \
--docdir=/usr/share/gperf/doc/
make
}
package() {
cd "${srcdir}"/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
gzip "${pkgdir}"/usr/share/info/gperf.info
}
|