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

Andrea Scarpino andrea at archlinux.org
Mon Apr 19 01:50:28 UTC 2010


    Date: Sunday, April 18, 2010 @ 21:50:27
  Author: andrea
Revision: 77902

upgpkg: ccrtp 1.7.0-4
commoncpp2 soname bump

Modified:
  ccrtp/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-04-19 01:49:35 UTC (rev 77901)
+++ PKGBUILD	2010-04-19 01:50:27 UTC (rev 77902)
@@ -1,10 +1,11 @@
 # $Id$
-# Maintainer: Jeff Mickey <jeff at archlinux.org>
+# Maintainer:
+# Contributor: Jeff Mickey <jeff at archlinux.org>
 # Contributor: John Proctor <jproctor at prium.net>
 
 pkgname=ccrtp
 pkgver=1.7.0
-pkgrel=3
+pkgrel=4
 pkgdesc="GNU ccRTP"
 arch=('i686' 'x86_64')
 url="http://www.gnu.org/software/ccrtp"
@@ -15,14 +16,18 @@
 md5sums=('eb86cd2ac06af27ea60b1a349122605c')
 
 build() {
-  cd ${srcdir}/$pkgname-$pkgver
+  cd ${srcdir}/${pkgname}-${pkgver}
 
   # arch64 fix from Mandriva
   [ "$CARCH" == "x86_64" ] && export CXXFLAGS="$CXXFLAGS -fpermissive"
 
   ./configure --prefix=/usr
   make || return 1
-  make DESTDIR=${pkgdir} install
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install || return 1
   install -D -m644 COPYING.addendum ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
 
   rm -rf ${pkgdir}/usr/share/info/dir




More information about the arch-commits mailing list