update to 12.4-systemd: gdbm-1.26
This commit is contained in:
28
lfs/gdbm-1.26.PKGBUILD
Normal file
28
lfs/gdbm-1.26.PKGBUILD
Normal file
@@ -0,0 +1,28 @@
|
||||
pkgname=gdbm
|
||||
pkgver=1.26
|
||||
pkgdesc="GNU database library"
|
||||
homepage="https://www.gnu.org/software/gdbm"
|
||||
license=(GPL-3.0-or-later)
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
|
||||
md5sums=("aaa600665bc89e2febb3c7bd90679115")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--enable-libgdbm-compat
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user