[arch-commits] Commit in virtuoso/kde-unstable (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Mon Jan 11 09:56:36 EST 2010


    Date: Monday, January 11, 2010 @ 09:56:36
  Author: pierre
Revision: 62733

fix build

Modified:
  virtuoso/kde-unstable/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-01-11 14:21:28 UTC (rev 62732)
+++ PKGBUILD	2010-01-11 14:56:36 UTC (rev 62733)
@@ -4,19 +4,19 @@
 
 pkgname=virtuoso
 pkgver=6.0.0
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
-pkgdesc="A scalable cross-platform server that combines SQL/RDF/XML Data Management with Web Application Server and Web Services Platform functionality"
-url="http://virtuoso.openlinksw.com/wiki/main/Main/"
+pkgdesc='A scalable cross-platform server that combines SQL/RDF/XML Data Management with Web Application Server and Web Services Platform functionality'
+url='http://virtuoso.openlinksw.com/wiki/main/Main/'
 license=('GPL')
-depends=('libxml2' 'zlib' 'libldap' 'readline' 'iodbc')
+depends=('libldap' 'iodbc')
 makedepends=('bison' 'flex')
 options=('!libtool')
-source=("http://downloads.sourceforge.net/virtuoso/$pkgname-opensource-$pkgver.tar.gz")
+source=("http://downloads.sourceforge.net/virtuoso/${pkgname}-opensource-${pkgver}.tar.gz")
 md5sums=('39b68d6c958ad36622ba4476e1ea5fd0')
 
 build() {
-  cd "$srcdir/$pkgname-opensource-$pkgver"
+  cd $srcdir/${pkgname}-opensource-${pkgver}
 
   ./configure --prefix=/usr \
     --localstatedir=/var \
@@ -25,13 +25,14 @@
     --disable-hslookup \
     --disable-all-vads || return 1
   make || return 1
+}
 
+package() {
   # install server
-  cd ${srcdir}/${pkgbase}-${pkgver}/binsrc/virtuoso
-  install -D ${pkgdir}/usr/lib
+  cd ${srcdir}/${pkgname}-opensource-${pkgver}/binsrc/virtuoso
   make DESTDIR=${pkgdir} install || return 1
 
   # install driver
-  cd ${srcdir}/${pkgbase}-${pkgver}/binsrc/driver
+  cd ${srcdir}/${pkgname}-opensource-${pkgver}/binsrc/driver
   make DESTDIR=${pkgdir} install || return 1
 }



More information about the arch-commits mailing list