new: lfs-12.2-systemd/gperf-3.1
This commit is contained in:
parent
7f75ddef6d
commit
55e2111f47
26
lfs-12.2-systemd/gperf-3.1.PKGBUILD
Normal file
26
lfs-12.2-systemd/gperf-3.1.PKGBUILD
Normal file
@ -0,0 +1,26 @@
|
||||
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 ${DIST_DIR}/${pkgname}-${pkgver}/${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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user