summaryrefslogtreecommitdiffstats
path: root/abs/core/man-db/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 17:35:42 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 17:35:42 (GMT)
commit9f150385ab6989b7163d912858fd600aae652ed7 (patch)
tree85a5e41661352c4152a81845083349330de542a5 /abs/core/man-db/PKGBUILD
parent4fe0a91dc41e4f497a8aa5497c21799060d5fddd (diff)
downloadlinhes_pkgbuild-9f150385ab6989b7163d912858fd600aae652ed7.zip
linhes_pkgbuild-9f150385ab6989b7163d912858fd600aae652ed7.tar.gz
linhes_pkgbuild-9f150385ab6989b7163d912858fd600aae652ed7.tar.bz2
man-db 2.6.2
Diffstat (limited to 'abs/core/man-db/PKGBUILD')
-rw-r--r--abs/core/man-db/PKGBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/abs/core/man-db/PKGBUILD b/abs/core/man-db/PKGBUILD
index 05265fd..a3e3caf 100644
--- a/abs/core/man-db/PKGBUILD
+++ b/abs/core/man-db/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 99794 2010-11-17 19:07:22Z andyrtr $
+# $Id: PKGBUILD 162129 2012-06-21 16:20:53Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Sergej Pupykin <sergej@aur.archlinux.org>
pkgname=man-db
-pkgver=2.5.9
+pkgver=2.6.2
pkgrel=1
pkgdesc="A utility for reading man pages"
arch=('i686' 'x86_64')
url="http://www.nongnu.org/man-db/"
license=('GPL' 'LGPL')
groups=('base')
-depends=( 'bash' 'gdbm' 'zlib' 'groff')
+depends=( 'bash' 'gdbm' 'zlib' 'groff' 'libpipeline')
optdepends=('less' 'gzip')
backup=('etc/man_db.conf'
'etc/cron.daily/man-db')
@@ -18,26 +18,31 @@ conflicts=('man')
provides=('man')
replaces=('man')
install=${pkgname}.install
-source=(http://savannah.nongnu.org/download/man-db/$pkgname-$pkgver.tar.gz
- #http://launchpad.net/man-db/main/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz
+source=(http://savannah.nongnu.org/download/man-db/$pkgname-$pkgver.tar.xz{,.sig}
convert-mans man-db.cron.daily)
-md5sums=('9841394f5c5fe7e2dd2e0c5fb4766d0f'
+options=('!libtool')
+md5sums=('647c48d46c464419185d031d04481ee5'
+ 'a9de1f9bbe620a5a9b9f5da8c58cd96c'
'2b7662a7d5b33fe91f9f3e034361a2f6'
'd30c39ae47560304471b5461719e0f03')
-options=('!libtool')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
-
+ sed -i '/gets is a security hole/d' gnulib/lib/stdio.in.h
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
--with-db=gdbm --disable-setuid --enable-mandirs=GNU \
--with-sections="1 n l 8 3 0 2 5 4 9 6 7"
make
}
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check
+}
+
package() {
cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install || return 1
+ make DESTDIR=${pkgdir} install
# part of groff pkg
rm -f ${pkgdir}/usr/bin/zsoelim