From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/libdesktop-agnostic/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 community/libdesktop-agnostic/PKGBUILD (limited to 'community/libdesktop-agnostic') diff --git a/community/libdesktop-agnostic/PKGBUILD b/community/libdesktop-agnostic/PKGBUILD new file mode 100644 index 000000000..e6848d808 --- /dev/null +++ b/community/libdesktop-agnostic/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 79732 2012-11-11 19:02:50Z bgyorgy $ +# Maintainer: Balló György +# Contributor: Jan "heftig" Steffens +# Contributor: Daniel J Griffiths + +pkgname=libdesktop-agnostic +pkgver=0.3.92 +pkgrel=5 +pkgdesc="Provides an extensible config API, a unified virtual fs API, and a desktop item editor for GLib-based projects" +arch=('i686' 'x86_64') +url="https://launchpad.net/libdesktop-agnostic" +license=('GPL' 'LGPL') +depends=('pygtk') +makedepends=('intltool' 'vala' 'gconf' 'gobject-introspection') +optdepends=('gconf: gconf configuration backend') +options=('!libtool') +backup=(etc/xdg/libdesktop-agnostic/desktop-agnostic.ini) +source=(https://launchpad.net/$pkgname/0.4/$pkgver/+download/$pkgname-$pkgver.tar.gz) +md5sums=('42374d226a21d57637f97173f6b105a1') + +build() { + cd "$srcdir/$pkgname-$pkgver" + export PYTHON=/usr/bin/python2 + + python2 ./waf configure --prefix=/usr --sysconfdir=/etc \ + --config-backends=gconf,keyfile \ + --vfs-backends=gio \ + --desktop-entry-backends=gio,glib + python2 ./waf +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + python2 ./waf install --destdir="$pkgdir" +} -- cgit v1.2.3-54-g00ecf