diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/commoncpp2/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/commoncpp2/PKGBUILD')
-rw-r--r-- | community/commoncpp2/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community/commoncpp2/PKGBUILD b/community/commoncpp2/PKGBUILD new file mode 100644 index 000000000..806cc23a9 --- /dev/null +++ b/community/commoncpp2/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 64380 2012-02-12 11:04:24Z arodseth $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Franco Tortoriello <franco.tortoriello@gmail.com> +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Jeff Mickey <jeff@archlinux.org> +# Contributor: John Proctor <jproctor@prium.net> +# Contributor: Alexander Rødseth <rodseth@gmail.com> + +pkgname=commoncpp2 +pkgver=1.8.1 +pkgrel=3 +pkgdesc="GNU Common C++ 2" +arch=('x86_64' 'i686') +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 <sys/stat.h>' 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: |