[arch-commits] Commit in tracker/trunk (PKGBUILD)
Jan de Groot
jgc at nymeria.archlinux.org
Wed Mar 26 20:31:55 UTC 2014
Date: Wednesday, March 26, 2014 @ 21:31:55
Author: jgc
Revision: 208769
upgpkg: tracker 1.0.0-1
Modified:
tracker/trunk/PKGBUILD
----------+
PKGBUILD | 38 +++++++++++++++-----------------------
1 file changed, 15 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-03-26 20:31:50 UTC (rev 208768)
+++ PKGBUILD 2014-03-26 20:31:55 UTC (rev 208769)
@@ -5,8 +5,7 @@
pkgbase=tracker
pkgname=(tracker libtracker-sparql)
-pkgver=0.16.4
-_tver=${pkgver%.*}
+pkgver=1.0.0
pkgrel=1
pkgdesc="All-in-one indexer, search tool and metadata database"
arch=(i686 x86_64)
@@ -15,11 +14,11 @@
poppler-glib libgsf icu enca networkmanager gtk3
desktop-file-utils hicolor-icon-theme gobject-introspection
intltool giflib gst-plugins-base-libs totem-plparser
- taglib libvorbis flac vala libgxps libnautilus-extension)
+ taglib libvorbis flac vala libgxps libnautilus-extension libmediaart)
url="http://www.gnome.org"
options=('!emptydirs')
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/$_tver/$pkgbase-$pkgver.tar.xz)
-sha256sums=('9c2f50839c2b8b352ab9a022597ef985c1900e6286c0c3bcb7a64da39dbb3580')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver:0:3}/$pkgbase-$pkgver.tar.xz)
+sha256sums=('a1d033faf2c78f0e239f3c2c961b96623c9a7dabd938c08e3f5660bd70f54ba2')
build() {
cd $pkgbase-$pkgver
@@ -56,24 +55,11 @@
cd $pkgbase-$pkgver
make DESTDIR="$pkgdir" install
-### Split libtracker-sparql
+ for dir in libtracker-{sparql,common,data,sparql-backend}; do
+ make DESTDIR="$pkgdir" -C src/$dir uninstall
+ done
- mkdir -p "$srcdir"/sparql/usr/{include,lib}/tracker-$_tver
- mkdir -p "$srcdir"/sparql/usr/lib/{girepository-1.0,pkgconfig}
- mkdir -p "$srcdir"/sparql/usr/share/{gir-1.0,vala/vapi}
-
- mv "$pkgdir"/usr/lib/libtracker-sparql-* "$srcdir/sparql/usr/lib"
-
- mv "$pkgdir"/usr/lib/tracker-$_tver/*.so* \
- "$srcdir/sparql/usr/lib/tracker-$_tver"
-
- mv "$pkgdir"/usr/share/vala/vapi/tracker-sparql-* \
- "$srcdir/sparql/usr/share/vala/vapi"
-
- mv {"$pkgdir","$srcdir/sparql"}/usr/include/tracker-$_tver/libtracker-sparql
- mv {"$pkgdir","$srcdir/sparql"}/usr/lib/girepository-1.0/Tracker-$_tver.typelib
- mv {"$pkgdir","$srcdir/sparql"}/usr/lib/pkgconfig/tracker-sparql-$_tver.pc
- mv {"$pkgdir","$srcdir/sparql"}/usr/share/gir-1.0/Tracker-$_tver.gir
+ rm -f "$pkgdir"/usr/lib/pkgconfig/tracker-sparql-*.pc
}
package_libtracker-sparql() {
@@ -80,5 +66,11 @@
pkgdesc="$pkgdesc (SPARQL library)"
depends=(sqlite icu glib2 libffi pcre util-linux)
- mv "$srcdir"/sparql/* "$pkgdir"
+ cd $pkgbase-$pkgver/src
+ for dir in libtracker-{sparql,common,data,sparql-backend}; do
+ make DESTDIR="$pkgdir" -C $dir install
+ done
+
+ install -m755 -d "$pkgdir"/usr/lib/pkgconfig
+ install -m644 ../data/tracker-sparql-*.pc "$pkgdir"/usr/lib/pkgconfig/
}
More information about the arch-commits
mailing list