diff options
author | root <root@rshg054.dnsready.net> | 2012-02-13 23:15:14 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-13 23:15:14 +0000 |
commit | 16e845de1bbf76ab48a02bfaa21730f45e6afaaa (patch) | |
tree | 29a9ad28230397e62bdb0ab5cd970763a6033f69 /community/commoncpp2/PKGBUILD | |
parent | 0020cc650ff973f269f23332e82fc097254d0adc (diff) |
Mon Feb 13 23:15:14 UTC 2012
Diffstat (limited to 'community/commoncpp2/PKGBUILD')
-rw-r--r-- | community/commoncpp2/PKGBUILD | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/community/commoncpp2/PKGBUILD b/community/commoncpp2/PKGBUILD index 411a1d3f2..806cc23a9 100644 --- a/community/commoncpp2/PKGBUILD +++ b/community/commoncpp2/PKGBUILD @@ -1,36 +1,38 @@ -# $Id: PKGBUILD 32643 2010-11-16 09:56:02Z spupykin $ +# $Id: PKGBUILD 64380 2012-02-12 11:04:24Z arodseth $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> -# Mantainer: Franco Tortoriello <franco.tortoriello@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=2 +pkgrel=3 pkgdesc="GNU Common C++ 2" -arch=('i686' 'x86_64') +arch=('x86_64' 'i686') url='http://www.gnu.org/software/commoncpp/' license=('GPL' 'custom') depends=('gcc-libs' 'zlib' 'sh') options=('!libtool' '!makeflags') -source=("http://ftp.gnu.org/pub/gnu/commoncpp/${pkgname}-${pkgver}.tar.gz") -md5sums=('4804b184e609154ba2bc0aa9f61dc6ef') -md5sums=('4804b184e609154ba2bc0aa9f61dc6ef') +install=$pkgname.install +source=("http://ftp.gnu.org/pub/gnu/commoncpp/$pkgname-$pkgver.tar.gz") +sha256sums=('53ced4aff74e28a1d8018eb2b4974519028db3c12471ab6dff1c873578c9af4e') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "$srcdir/$pkgname-$pkgver" + sed -i -e '50 a\#include <sys/stat.h>' inc/cc++/applog.h - ./configure --prefix=/usr + ./configure --prefix=/usr --mandir=/usr/share/man make } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install - - gzip -9 ${pkgdir}/usr/share/info/commoncpp2.info - rm ${pkgdir}/usr/share/info/dir + cd "$srcdir/$pkgname-$pkgver" - install -D -m644 COPYING.addendum ${pkgdir}/usr/share/licenses/$pkgname/LICENSE + make DESTDIR="$pkgdir" install + install -Dm644 COPYING.addendum \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } + +# vim:set ts=2 sw=2 et: |