summaryrefslogtreecommitdiff
path: root/extra/gc/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-27 23:15:24 +0000
committerroot <root@rshg054.dnsready.net>2012-02-27 23:15:24 +0000
commit1f567a9d58d16b76320168f0624aa55bd6320284 (patch)
treee4e7ffadc364d582fccd8543ad1543fa9741a8a7 /extra/gc/PKGBUILD
parentf6a79a3f5989efc8db63af942851c56f0c462bb1 (diff)
Mon Feb 27 23:15:24 UTC 2012
Diffstat (limited to 'extra/gc/PKGBUILD')
-rw-r--r--extra/gc/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/extra/gc/PKGBUILD b/extra/gc/PKGBUILD
index 16f608ea1..4a057f4bb 100644
--- a/extra/gc/PKGBUILD
+++ b/extra/gc/PKGBUILD
@@ -1,22 +1,27 @@
-# $Id: PKGBUILD 123615 2011-05-11 19:36:33Z jgc $
+# $Id: PKGBUILD 151400 2012-02-26 10:21:51Z pierre $
# Maintainer: Daniel Isenmann <daniel [at] archlinux.org>
# Contributor: dorphell <dorphell@gmx.net>
+
pkgname=gc
pkgver=7.1
-pkgrel=3
+pkgrel=4
pkgdesc="A garbage collector for C and C++"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
license=('GPL')
-source=(http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/${pkgname}-${pkgver}.tar.gz)
+source=("http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/${pkgname}-${pkgver}.tar.gz")
depends=('gcc-libs')
-options=(!libtool)
+options=('!libtool')
md5sums=('2ff9924c7249ef7f736ecfe6f08f3f9b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --enable-cplusplus
make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/usr/share/gc"