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

andyrtr at archlinux.org andyrtr at archlinux.org
Sun Feb 20 15:55:20 UTC 2011


    Date: Sunday, February 20, 2011 @ 10:55:20
  Author: andyrtr
Revision: 110602

upgpkg: liblrdf 0.4.0-7
build against raptor1

Modified:
  liblrdf/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-02-20 15:53:15 UTC (rev 110601)
+++ PKGBUILD	2011-02-20 15:55:20 UTC (rev 110602)
@@ -3,11 +3,11 @@
 
 pkgname=liblrdf
 pkgver=0.4.0
-pkgrel=6
+pkgrel=7
 pkgdesc="A library for the manipulation of RDF file in LADSPA plugins"
 arch=('i686' 'x86_64')
 url="http://sourceforge.net/projects/lrdf"
-depends=('raptor>=1.4.15-2' 'ladspa')
+depends=('raptor1' 'ladspa')
 makedepends=('pkgconfig')
 license=('GPL')
 options=('!libtool')
@@ -19,9 +19,12 @@
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i "${srcdir}/md5.patch"
+  ./configure --prefix=/usr
+  make
+}
 
-  patch -Np1 -i "${srcdir}/md5.patch" || return 1
-  ./configure --prefix=/usr || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
 }




More information about the arch-commits mailing list