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

Gaetan Bisson bisson at archlinux.org
Thu Dec 16 23:12:38 UTC 2010


    Date: Thursday, December 16, 2010 @ 18:12:38
  Author: bisson
Revision: 103250

minor update, minor PKGBUILD enhancements

Modified:
  libmpdclient/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-12-16 21:25:06 UTC (rev 103249)
+++ PKGBUILD	2010-12-16 23:12:38 UTC (rev 103250)
@@ -2,7 +2,7 @@
 # Maintainer: Andrea Scarpino <andrea at archlinux.org>
 
 pkgname=libmpdclient
-pkgver=2.2
+pkgver=2.3
 pkgrel=1
 pkgdesc="An asynchronous API library for interfacing MPD in the C, C++ & Objective C languages"
 arch=('i686' 'x86_64')
@@ -10,17 +10,17 @@
 license=('GPL2')
 depends=('glibc')
 options=('!libtool')
-source=("http://downloads.sourceforge.net/musicpd/${pkgname}-$pkgver.tar.bz2")
-md5sums=('8b9dff75d6c820b781ce066417df4078')
+source=("http://downloads.sourceforge.net/musicpd/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('d1ccd40f1c7a723ef0a8eb0e19b51699ec9a8f9e')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd "${srcdir}/${pkgname}-${pkgver}"
 
-  ./configure --prefix=/usr || return 1
-  make || return 1
+  ./configure --prefix=/usr
+  make
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install || return 1
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
 }




More information about the arch-commits mailing list