# $Id: PKGBUILD 64380 2012-02-12 11:04:24Z arodseth $ # Maintainer: Sergej Pupykin # Contributor: Franco Tortoriello # Contributor: Andrea Scarpino # Contributor: Jeff Mickey # Contributor: John Proctor # Contributor: Alexander Rødseth pkgname=commoncpp2 pkgver=1.8.1 pkgrel=3.1 pkgdesc="GNU Common C++ 2" arch=('x86_64' 'i686' 'mips64el') url='http://www.gnu.org/software/commoncpp/' license=('GPL' 'custom') depends=('gcc-libs' 'zlib' 'sh') options=('!libtool' '!makeflags') install=$pkgname.install source=("http://ftp.gnu.org/pub/gnu/commoncpp/$pkgname-$pkgver.tar.gz") sha256sums=('53ced4aff74e28a1d8018eb2b4974519028db3c12471ab6dff1c873578c9af4e') build() { cd "$srcdir/$pkgname-$pkgver" sed -i -e '50 a\#include ' inc/cc++/applog.h ./configure --prefix=/usr --mandir=/usr/share/man make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install install -Dm644 COPYING.addendum \ "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } # vim:set ts=2 sw=2 et: