[arch-commits] Commit in gc/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sun Nov 9 12:14:44 UTC 2008


    Date: Sunday, November 9, 2008 @ 07:14:44
  Author: jgc
Revision: 18814

upgpkg: gc 7.1-1

Modified:
  gc/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-11-09 11:21:16 UTC (rev 18813)
+++ PKGBUILD	2008-11-09 12:14:44 UTC (rev 18814)
@@ -2,25 +2,20 @@
 # Maintainer: Daniel Isenmann <daniel [at] archlinux.org>
 # Contributor: dorphell <dorphell at gmx.net>
 pkgname=gc
-pkgver=7.0
-pkgrel=2
+pkgver=7.1
+pkgrel=1
 pkgdesc="A garbage collector for C and C++"
 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)
-depends=(gcc-libs)
+depends=('gcc-libs')
 options=(!libtool)
-md5sums=('3645ccf5f32ebb27d99b27b0d29e9c38')
+md5sums=('2ff9924c7249ef7f736ecfe6f08f3f9b')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  ./configure --prefix=/usr --enable-cplusplus
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --enable-cplusplus || return 1
   make || return 1
-  make DESTDIR=${startdir}/pkg install
-
-  #Documentation, delete it but keep the manpage
-  install -d -m755 ${startdir}/pkg/usr/man/man3
-  install -m644 ${startdir}/pkg/usr/share/gc/gc.man ${startdir}/pkg/usr/man/man3/gc.3
-  rm -rf ${startdir}/pkg/usr/share/
+  make DESTDIR="${pkgdir}" install || return 1
 }




More information about the arch-commits mailing list