summaryrefslogtreecommitdiff
path: root/community-testing/dee/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/dee/PKGBUILD')
-rw-r--r--community-testing/dee/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community-testing/dee/PKGBUILD b/community-testing/dee/PKGBUILD
new file mode 100644
index 000000000..577c0efdb
--- /dev/null
+++ b/community-testing/dee/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 78040 2012-10-16 11:50:05Z allan $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=dee
+pkgver=1.0.14
+pkgrel=2
+pkgdesc="Library to provide objects allowing to create Model-View-Controller type programs across DBus"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/dee"
+license=('LGPL')
+depends=('glib2' 'icu')
+makedepends=('python2' 'gobject-introspection' 'vala')
+options=('!libtool')
+source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz)
+md5sums=('473b4181e26538af0fb753255da7945c')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static --disable-tests \
+ PYTHON=python2
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+
+ # Install GI overrides for python 3 as well
+ install -dm755 "$pkgdir/usr/lib/python3.3/site-packages/gi/overrides"
+ ln -s ../../../../python2.7/site-packages/gi/overrides/Dee.py "$pkgdir/usr/lib/python3.3/site-packages/gi/overrides/Dee.py"
+}