diff --git a/gdbm/PKGBUILD b/gdbm/PKGBUILD new file mode 100644 index 0000000..b4b46c7 --- /dev/null +++ b/gdbm/PKGBUILD @@ -0,0 +1,33 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=gdbm +pkgver=1.24 +pkgrel=1 +pkgdesc="GNU database library" +arch=('x86_64') +url="https://www.gnu.org/software/gdbm/" +license=('GPL-3.0-or-later') +depends=('glibc' 'bash') +makedepends=('readline') +source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz) +sha256sums=(695e9827fdf763513f133910bc7e6cfdb9187943a4fec943e57449723d2b8dbf) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --disable-static \ + --enable-libgdbm-compat + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}