diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/libpipeline/PKGBUILD | 31 | ||||
-rw-r--r-- | core/man-db/PKGBUILD | 15 | ||||
-rw-r--r-- | core/man-db/man-db.install | 6 |
3 files changed, 46 insertions, 6 deletions
diff --git a/core/libpipeline/PKGBUILD b/core/libpipeline/PKGBUILD new file mode 100644 index 000000000..086d93d54 --- /dev/null +++ b/core/libpipeline/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 119506 2011-04-11 19:53:04Z andyrtr $ +# Maintainer: Andreas Radke <andyrtr@archlinux.org> + +pkgname=libpipeline +pkgver=1.2.0 +pkgrel=1 +pkgdesc="a C library for manipulating pipelines of subprocesses in a flexible and convenient way" +arch=('i686' 'x86_64') +url="http://libpipeline.nongnu.org/" +license=('GPL') +groups=('base') +depends=('glibc') +options=('!libtool') +source=(http://download.savannah.gnu.org/releases/libpipeline/$pkgname-$pkgver.tar.gz) +md5sums=('dd3a987a0d2b594716baee2f73d61ae3') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make -k check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} diff --git a/core/man-db/PKGBUILD b/core/man-db/PKGBUILD index 05265fdc1..0c4b05652 100644 --- a/core/man-db/PKGBUILD +++ b/core/man-db/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 99794 2010-11-17 19:07:22Z andyrtr $ +# $Id: PKGBUILD 119687 2011-04-13 16:45:31Z andyrtr $ # Maintainer: Andreas Radke <andyrtr@archlinux.org> # Contributor: Sergej Pupykin <sergej@aur.archlinux.org> pkgname=man-db -pkgver=2.5.9 +pkgver=2.6.0.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') @@ -21,7 +21,7 @@ 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 convert-mans man-db.cron.daily) -md5sums=('9841394f5c5fe7e2dd2e0c5fb4766d0f' +md5sums=('2b41c96efec032d2b74ccbf2e401f93e' '2b7662a7d5b33fe91f9f3e034361a2f6' 'd30c39ae47560304471b5461719e0f03') options=('!libtool') @@ -35,9 +35,14 @@ build() { 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 diff --git a/core/man-db/man-db.install b/core/man-db/man-db.install index 6a0f36b67..f6f0f27a6 100644 --- a/core/man-db/man-db.install +++ b/core/man-db/man-db.install @@ -10,9 +10,13 @@ post_upgrade() { echo "run \"userdel man\". please also" echo "chown root:root /var/cache/man" fi + # force database rebuild to get rid off badly imported pages + if [ "`vercmp $2 2.6.0.2`" -lt 0 ]; then + echo "(re)building database..." + mandb -c --quiet + fi } post_remove() { rm -rf /var/cache/man } - |