summaryrefslogtreecommitdiff
path: root/libre/gdbm-static/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-23 16:40:40 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-23 16:41:32 -0300
commitce11fd60dd39d4288dedededaf47cf4e8a7e7dce (patch)
treee0c37c8d4df843d4590137a042632ad4d4c40e07 /libre/gdbm-static/PKGBUILD
parente8422fe1669fa89d03034f9935f388145710ffaa (diff)
downloadabslibre-ce11fd60dd39d4288dedededaf47cf4e8a7e7dce.tar.gz
abslibre-ce11fd60dd39d4288dedededaf47cf4e8a7e7dce.tar.bz2
abslibre-ce11fd60dd39d4288dedededaf47cf4e8a7e7dce.zip
remove unused static packages
Diffstat (limited to 'libre/gdbm-static/PKGBUILD')
-rw-r--r--libre/gdbm-static/PKGBUILD51
1 files changed, 0 insertions, 51 deletions
diff --git a/libre/gdbm-static/PKGBUILD b/libre/gdbm-static/PKGBUILD
deleted file mode 100644
index 7f6e3d0f0..000000000
--- a/libre/gdbm-static/PKGBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# Maintainer: Márcio Silva <coadde@parabola.nu>
-# based of gdbm
-
-_pkgname=gdbm
-pkgname=gdbm-static
-pkgver=1.11
-pkgrel=1
-pkgdesc="GNU database library (static libraries only)"
-url="http://www.gnu.org/software/gdbm/gdbm.html"
-license=('GPL3')
-arch=('i686' 'x86_64' 'armv7h')
-depends=('gdbm')
-options=('!makeflags' 'staticlibs')
-source=(ftp://ftp.gnu.org/gnu/gdbm/${_pkgname}-${pkgver}.tar.gz{,.sig}
- gdbm-1.10-zeroheaders.patch)
-validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732')
-md5sums=('72c832680cf0999caedbe5b265c8c1bd'
- 'SKIP'
- 'ac255b10452005237836cd2d3a470733')
-
-prepare() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
-
- # Prevent gdbm from storing uninitialized memory content
- # to database files. This patch improves security, as the
- # uninitialized memory might contain sensitive informations
- # from other applications.
- # https://bugzilla.redhat.com/show_bug.cgi?id=4457
- # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=208927
- patch -Np1 -i ../gdbm-1.10-zeroheaders.patch
-}
-
-build() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- ./configure --prefix=/usr --enable-libgdbm-compat
- make
-}
-
-check() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- make check
-}
-
-package() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- # remove conflicting files
- rm -vr ${pkgdir}/usr/{bin,include,share}
- rm -v ${pkgdir}/usr/lib/lib*.so*
-}