diff options
author | root <root@rshg054.dnsready.net> | 2011-09-21 23:14:42 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-09-21 23:14:42 +0000 |
commit | b7f839da11975b9f2a964a82d591b7a8628f0931 (patch) | |
tree | bb6a7aee842680de3a5038e34d27256ca1d389ef /gnome-unstable/folks | |
parent | ae08410274473c5ab78d300ea2365c4b1070cc61 (diff) |
Wed Sep 21 23:14:42 UTC 2011
Diffstat (limited to 'gnome-unstable/folks')
-rw-r--r-- | gnome-unstable/folks/PKGBUILD | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/gnome-unstable/folks/PKGBUILD b/gnome-unstable/folks/PKGBUILD index ae4686864..8589aef02 100644 --- a/gnome-unstable/folks/PKGBUILD +++ b/gnome-unstable/folks/PKGBUILD @@ -1,21 +1,22 @@ -# $Id: PKGBUILD 138212 2011-09-18 20:34:33Z heftig $ +# $Id: PKGBUILD 138344 2011-09-20 10:21:26Z heftig $ # Maintainer: Ionut Biru <ibiru@archlinux.org> -pkgname=folks +pkgbase=folks +pkgname=(folks folks-tracker) pkgver=0.6.3 -pkgrel=1 -pkgdesc="Library to aggregates people into metacontacts " +pkgrel=2 +pkgdesc="Library to aggregates people into metacontacts" arch=(i686 x86_64) url="http://telepathy.freedesktop.org/wiki/Folks" license=('LGPL2.1') depends=('telepathy-glib' 'libgee' 'libxml2' 'evolution-data-server' 'libsocialweb') makedepends=('gobject-introspection' 'vala' 'intltool' 'libtracker-sparql') -options=('!libtool') -source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.6/${pkgname}-${pkgver}.tar.xz) +options=('!libtool' '!emptydirs') +source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgbase}/0.6/${pkgbase}-${pkgver}.tar.xz) sha256sums=('e21810966f300b31e8cd51cca9851606213345eb933584997b49326c43b46e1b') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgbase-$pkgver" # Change tracker version grep -lr sparql-0.10 . | xargs sed -i 's/sparql-0.10/sparql-0.12/g' @@ -24,9 +25,25 @@ build() { make } -package() { - cd "$srcdir/$pkgname-$pkgver" +package_folks() { + optdepends=('folks-tracker: Tracker backend') + + cd "$srcdir/$pkgbase-$pkgver" make DESTDIR="$pkgdir" install + +### Split folks-tracker + cd "$pkgdir" + find . -name '*tracker*' \! -type d | while IFS= read -r _file; do + mkdir -p "$srcdir/folks-tracker/${_file%/*}" + mv "$_file" "$srcdir/folks-tracker/$_file" + done +} + +package_folks-tracker() { + pkgdesc="Tracker backend for folks" + depends=('folks' 'tracker') + + mv "$srcdir"/folks-tracker/* "$pkgdir" } # vim:set ts=2 sw=2 et: |