1 # Maintainer: Tom Gundersen <teg@jklm.no>
2 # Contributor: AndyRTR <andyrtr@archlinux.org>
3 # Contributor: Francois Charette <francois.archlinux.org>
7 # maybe rename redland-storage-mysql to redland-storage-mariadb or add a provide tag
8 pkgname=('redland' 'redland-storage-mysql' 'redland-storage-postgresql' 'redland-storage-virtuoso' 'redland-storage-sqlite')
11 url="http://librdf.org/"
14 makedepends=('rasqal' 'raptor' 'postgresql-libs' 'mariadb-libs' 'unixodbc' 'sqlite')
15 source=(http://download.librdf.org/source/$pkgname-$pkgver.tar.gz{,.asc}
17 sha256sums=('de1847f7b59021c16bdc72abb4d8e2d9187cd6124d69156f3326dd34ee043681'
19 '9ddf9f7581f5194d73ad908f3b26354c70d3079a7a87c8add8a0d0e4c6974fec')
20 validpgpkeys=('F879F0DEDA780198DD08DC6443EC92504F71955A') # Dave Beckett
23 cd "${srcdir}/${pkgname}-${pkgver}"
24 ./configure --prefix=/usr \
27 --with-raptor=system \
28 --with-rasqal=system \
33 patch -Np0 -i "${srcdir}/rpath.diff"
39 pkgdesc="Library that provides a high-level interface to RDF data"
40 depends=('rasqal>=0.9.26' 'raptor>=2.0.6' 'libltdl')
42 cd "${srcdir}/${pkgbase}-${pkgver}"
43 make DESTDIR="${pkgdir}" install
44 rm -rf "${pkgdir}/usr/lib/redland"
47 package_redland-storage-mysql() {
48 pkgdesc="MySQL storage support for Redland"
49 depends=('redland' 'mariadb-libs')
51 cd "${srcdir}/${pkgbase}-${pkgver}"
52 install -dm755 "${pkgdir}/usr/lib/redland"
53 install -m755 src/.libs/librdf_storage_mysql.so "${pkgdir}/usr/lib/redland/librdf_storage_mysql.so"
56 package_redland-storage-postgresql() {
57 pkgdesc="PostgreSQL storage support for Redland"
58 depends=('redland' 'postgresql-libs')
60 cd "${srcdir}/${pkgbase}-${pkgver}"
61 install -dm755 "${pkgdir}/usr/lib/redland"
62 install -m755 src/.libs/librdf_storage_postgresql.so "${pkgdir}/usr/lib/redland/"
65 package_redland-storage-virtuoso() {
66 pkgdesc="Virtuoso storage support for Redland"
67 depends=('redland' 'unixodbc')
69 cd "${srcdir}/${pkgbase}-${pkgver}"
70 install -dm755 "${pkgdir}/usr/lib/redland"
71 install -m755 src/.libs/librdf_storage_virtuoso.so "${pkgdir}/usr/lib/redland/"
74 package_redland-storage-sqlite() {
75 pkgdesc="SQLite storage support for Redland"
76 depends=('redland' 'sqlite3')
78 cd "${srcdir}/${pkgbase}-${pkgver}"
79 install -dm755 "${pkgdir}/usr/lib/redland"
80 install -m755 src/.libs/librdf_storage_sqlite.so "${pkgdir}/usr/lib/redland/"