summaryrefslogtreecommitdiff
path: root/extra/redland/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/redland/PKGBUILD')
-rw-r--r--extra/redland/PKGBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/extra/redland/PKGBUILD b/extra/redland/PKGBUILD
index 8f87b360a..1ae150d37 100644
--- a/extra/redland/PKGBUILD
+++ b/extra/redland/PKGBUILD
@@ -1,18 +1,19 @@
-# $Id: PKGBUILD 115186 2011-03-17 11:09:01Z andrea $
+# $Id: PKGBUILD 120965 2011-04-27 19:29:40Z andrea $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Francois Charette <francois.archlinux.org>
pkgbase=redland
+epoch=1
pkgname=('redland' 'redland-storage-mysql' 'redland-storage-postgresql' 'redland-storage-virtuoso' 'redland-storage-sqlite')
pkgver=1.0.12
-pkgrel=6
+pkgrel=1
url="http://librdf.org/"
license=("GPL")
arch=('i686' 'x86_64')
-makedepends=('rasqal>=0.9.21' 'raptor>=1.4.21' 'db>=5.1' 'postgresql-libs' 'libmysqlclient' 'unixodbc' 'sqlite3')
+makedepends=('rasqal>=0.9.21' 'raptor1' 'db>=5.1' 'postgresql-libs' 'libmysqlclient' 'unixodbc' 'sqlite3')
options=('!libtool')
source=(http://download.librdf.org/source/$pkgname-$pkgver.tar.gz
- rpath.diff)
+ rpath.diff)
md5sums=('40f37a5ad97fdfbf984f78dcea0c6115'
'acc85e784f01a656bd56777f95880787')
@@ -33,9 +34,11 @@ build() {
package_redland() {
pkgdesc="Library that provides a high-level interface to RDF data"
- depends=('rasqal>=0.9.21' 'raptor>=1.4.21' 'libtool')
+ depends=('rasqal>=0.9.21' 'raptor1' 'libtool')
+ replaces=('redland-compat' 'redland-compat-devel')
+ conflicts=('redland-compat' 'redland-compat-devel')
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgbase}-${pkgver}
make DESTDIR=${pkgdir} install
rm -rf ${pkgdir}/usr/lib/redland
}
@@ -44,7 +47,7 @@ package_redland-storage-mysql() {
pkgdesc="MySQL storage support for Redland"
depends=('redland' 'libmysqlclient')
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgbase}-${pkgver}
install -dm755 ${pkgdir}/usr/lib/redland
install -m755 src/.libs/librdf_storage_mysql.so ${pkgdir}/usr/lib/redland/librdf_storage_mysql.so
}
@@ -53,7 +56,7 @@ package_redland-storage-postgresql() {
pkgdesc="PostgreSQL storage support for Redland"
depends=('redland' 'postgresql-libs')
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgbase}-${pkgver}
install -dm755 ${pkgdir}/usr/lib/redland
install -m755 src/.libs/librdf_storage_postgresql.so ${pkgdir}/usr/lib/redland/
}
@@ -62,7 +65,7 @@ package_redland-storage-virtuoso() {
pkgdesc="Virtuoso storage support for Redland"
depends=('redland' 'unixodbc' 'db')
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgbase}-${pkgver}
install -dm755 ${pkgdir}/usr/lib/redland
install -m755 src/.libs/librdf_storage_virtuoso.so ${pkgdir}/usr/lib/redland/
}
@@ -71,7 +74,7 @@ package_redland-storage-sqlite() {
pkgdesc="SQLite storage support for Redland"
depends=('redland' 'sqlite3' 'db')
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgbase}-${pkgver}
install -dm755 ${pkgdir}/usr/lib/redland
install -m755 src/.libs/librdf_storage_sqlite.so ${pkgdir}/usr/lib/redland/
}