LFS-PKGBUILDs/lfs/gperf-3.1.PKGBUILD
2025-03-14 01:49:41 -04:00

27 lines
536 B
Plaintext

pkgname=gperf
pkgver=3.1
pkgdesc="Perfect hash function generator"
homepage="https://www.gnu.org/software/gperf/"
license=('GPL-3.0-or-later')
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
md5sums=("9e251c0a618ad0824b51117d5d9db87e")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
./configure --prefix=/usr --docdir=/usr/share/doc/gperf-3.1
make
}
src_check() {
make -j1 check
}
src_install() {
make DESTDIR="${pkgdir}" install
}