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

Pierre Schmitz pierre at archlinux.org
Tue Nov 1 06:25:51 EDT 2011


    Date: Tuesday, November 1, 2011 @ 06:25:50
  Author: pierre
Revision: 141655

rebuild old package

Modified:
  libmpcdec/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-01 10:11:25 UTC (rev 141654)
+++ PKGBUILD	2011-11-01 10:25:50 UTC (rev 141655)
@@ -3,20 +3,24 @@
 
 pkgname=libmpcdec
 pkgver=1.2.6
-pkgrel=2
+pkgrel=3
 pkgdesc="Musepack decoding library"
 arch=('i686' 'x86_64')
 url="http://musepack.net/"
 license=('custom')
 depends=('glibc')
 options=('!libtool')
-source=(http://files.musepack.net/source/${pkgname}-${pkgver}.tar.bz2)
+source=("http://files.musepack.net/source/${pkgname}-${pkgver}.tar.bz2")
 md5sums=('7f7a060e83b4278acf4b77d7a7b9d2c0')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   ./configure --prefix=/usr --disable-static
-  make || return 1
-  make DESTDIR=${pkgdir} install || return 1
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
   install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
 }



More information about the arch-commits mailing list