[arch-commits] CVS update of arch/build/devel/mcpp (PKGBUILD)

Alexander Baldeck alexander at archlinux.org
Wed Aug 22 11:26:48 EDT 2007


    Date: Wednesday, August 22, 2007 @ 11:26:48
  Author: alexander
    Path: /home/cvs-arch/arch/build/devel/mcpp

Modified: PKGBUILD (1.6 -> 1.7)

upgpkg: mcpp 2.6.4


----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)


Index: arch/build/devel/mcpp/PKGBUILD
diff -u arch/build/devel/mcpp/PKGBUILD:1.6 arch/build/devel/mcpp/PKGBUILD:1.7
--- arch/build/devel/mcpp/PKGBUILD:1.6	Wed Aug  9 16:38:13 2006
+++ arch/build/devel/mcpp/PKGBUILD	Wed Aug 22 11:26:48 2007
@@ -1,19 +1,24 @@
-# $Id: PKGBUILD,v 1.6 2006/08/09 20:38:13 jgc Exp $
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
+# $Id: PKGBUILD,v 1.7 2007/08/22 15:26:48 alexander Exp $
+# Maintainer: Alexander Baldeck <alexander at arclinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
 pkgname=mcpp
-pkgver=2.6
+pkgver=2.6.4
 pkgrel=1
 pkgdesc="Matsui's CPP implementation precisely conformed to standards"
 arch=(i686 x86_64)
+license=('custom:')
 url="http://mcpp.sourceforge.net"
-source=(http://heanet.dl.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
 depends=(glibc)
-md5sums=('bb8618c3cd26860692f17ea2b5313336')
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
   ./configure --prefix=/usr
   make || return 1
   make DESTDIR=${startdir}/pkg install
+
+  mkdir -p ${startdir}/pkg/usr/share/licenses/${pkgname}
+  install -m644 ${startdir}/src/${pkgname}-${pkgver}/LICENSE \
+                ${startdir}/pkg/usr/share/licenses/${pkgname}/LICENSE
 }
+md5sums=('c0f5aa9b13e36ea0f2ab9358c5d65153')




More information about the arch-commits mailing list