diff options
author | root <root@rshg047.dnsready.net> | 2011-05-12 22:37:15 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-12 22:37:15 +0000 |
commit | 1982ae8d63ab142a2a16bdf1b055110d9c9f40fd (patch) | |
tree | dbb34352753ef1b7e1893aa225490fad5306ba22 /extra/gc | |
parent | 5c25d28847bcae8c3c51c1babcb09d36c7fbddba (diff) |
Thu May 12 22:37:08 UTC 2011
Diffstat (limited to 'extra/gc')
-rw-r--r-- | extra/gc/PKGBUILD | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/extra/gc/PKGBUILD b/extra/gc/PKGBUILD index 11898fa33..16f608ea1 100644 --- a/extra/gc/PKGBUILD +++ b/extra/gc/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 18876 2008-11-09 22:41:09Z andyrtr $ +# $Id: PKGBUILD 123615 2011-05-11 19:36:33Z jgc $ # Maintainer: Daniel Isenmann <daniel [at] archlinux.org> # Contributor: dorphell <dorphell@gmx.net> pkgname=gc pkgver=7.1 -pkgrel=1 +pkgrel=3 pkgdesc="A garbage collector for C and C++" arch=(i686 x86_64) url="http://www.hpl.hp.com/personal/Hans_Boehm/gc/" @@ -15,7 +15,16 @@ md5sums=('2ff9924c7249ef7f736ecfe6f08f3f9b') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --enable-cplusplus || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + ./configure --prefix=/usr --enable-cplusplus + make + make DESTDIR="${pkgdir}" install + + rm -rf "${pkgdir}/usr/share/gc" + install -m755 -d "${pkgdir}/usr/share/doc/gc" + install -m644 doc/README{,.{changes,contributors,environment,linux}} \ + "${pkgdir}/usr/share/doc/gc/" + + sed -i -e 's/GC_MALLOC 1L/gc 3/' doc/gc.man + install -m755 -d "${pkgdir}/usr/share/man/man3" + install -m644 doc/gc.man "${pkgdir}/usr/share/man/man3/gc.3" } |