[arch-commits] Commit in zeitgeist/repos (staging-i686 staging-i686/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sun Dec 6 06:30:48 UTC 2015


    Date: Sunday, December 6, 2015 @ 07:30:47
  Author: arojas
Revision: 252631

archrelease: copy trunk to staging-i686

Added:
  zeitgeist/repos/staging-i686/
  zeitgeist/repos/staging-i686/PKGBUILD
    (from rev 252630, zeitgeist/trunk/PKGBUILD)

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Copied: zeitgeist/repos/staging-i686/PKGBUILD (from rev 252630, zeitgeist/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-12-06 06:30:47 UTC (rev 252631)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=zeitgeist
+pkgver=0.9.15
+pkgrel=3
+pkgdesc="Service logging user activities and events"
+arch=(i686 x86_64)
+url="http://zeitgeist-project.com/"
+license=(GPL2 LGPL2.1)
+depends=(json-glib telepathy-glib gtk3 xapian-core)
+makedepends=(intltool gobject-introspection vala raptor python2-rdflib gnome-common git)
+provides=(zeitgeist-datahub)
+conflicts=(zeitgeist-datahub)
+replaces=(zeitgeist-datahub)
+source=("$pkgname::git://anongit.freedesktop.org/$pkgname/$pkgname#commit=63dba18c")
+sha256sums=('SKIP')
+
+prepare() {
+  cd $pkgname
+
+  sed -i 's/python -/$PYTHON -/' configure.ac
+  sed -i '1s/python$/python2/' data/ontology2code
+
+  mkdir m4
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  export PYTHON=/usr/bin/python2
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib/$pkgname --enable-fts
+  make
+}
+
+check() {
+  cd $pkgname
+  # Log test fails in chroot, as we have no X and no proper dbus
+  make -k check || :
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list