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

Pierre Schmitz pierre at archlinux.org
Tue Jul 22 18:52:23 EDT 2008


    Date: Tuesday, July 22, 2008 @ 18:52:22
  Author: pierre
Revision: 6025

upgpkg: soprano 2.1-1

Modified:
  soprano/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-22 21:47:07 UTC (rev 6024)
+++ PKGBUILD	2008-07-22 22:52:22 UTC (rev 6025)
@@ -2,7 +2,7 @@
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=soprano
-pkgver=2.0.99
+pkgver=2.1
 pkgrel=1
 pkgdesc="Soprano is a library which provides a QT wrapper API to different RDF storage solutions."
 arch=('i686' 'x86_64')
@@ -12,13 +12,15 @@
 makedepends=('cmake' 'pkgconfig')
 source=(http://downloads.sourceforge.net/soprano/$pkgname-$pkgver.tar.bz2)
 options=(!libtool)
-md5sums=('adef1e8539bff9bd41a6b973dbd18ff4')
+md5sums=('c89c04931db14eb7f5801eb3d4e5c742')
 
 build() {
-  # start building
-  cd $startdir/src/$pkgname-$pkgver
-
-  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
-  make || return 1
-  make DESTDIR=$startdir/pkg install || return 1
-}
+	cd $srcdir
+	mkdir build
+	cd build
+	cmake ../${pkgname}-${pkgver} \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_INSTALL_PREFIX=/usr
+	make
+	make DESTDIR=$pkgdir install
+}
\ No newline at end of file





More information about the arch-commits mailing list