summaryrefslogtreecommitdiff
path: root/testing/xfconf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/xfconf/PKGBUILD')
-rw-r--r--testing/xfconf/PKGBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/testing/xfconf/PKGBUILD b/testing/xfconf/PKGBUILD
new file mode 100644
index 000000000..9a4d99570
--- /dev/null
+++ b/testing/xfconf/PKGBUILD
@@ -0,0 +1,49 @@
+# $Id: PKGBUILD 157719 2012-04-29 02:55:41Z foutrelis $
+# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
+# Contributor: tobias <tobias funnychar archlinux.org>
+
+pkgname=xfconf
+pkgver=4.10.0
+pkgrel=1
+pkgdesc="A simple client-server configuration storage and query system"
+arch=('i686' 'x86_64')
+url="http://www.xfce.org/"
+license=('GPL2')
+groups=('xfce4')
+# http://www.xfce.org/documentation/requirements
+# keep dbus, see also http://bugs.archlinux.org/task/14536
+depends=('libxfce4util' 'dbus-glib' 'dbus')
+makedepends=('pkgconfig' 'perl-extutils-depends' 'perl-extutils-pkgconfig'
+ 'glib-perl' 'intltool' 'gtk-doc' 'chrpath')
+options=('!libtool' '!emptydirs')
+source=(http://archive.xfce.org/src/xfce/$pkgname/4.10/$pkgname-$pkgver.tar.bz2)
+sha256sums=('175219a441cc7d0f210bbd1a3b0abba41598627cd9db27235811400c3e100576')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/xfce4 \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-gtk-doc \
+ --with-perl-options=INSTALLDIRS="vendor" \
+ --disable-debug
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ # remove unneeded dynloader bootstrap file
+ rm "$pkgdir/usr/lib/perl5/vendor_perl/auto/Xfce4/Xfconf/Xfconf.bs"
+
+ # fix insecure rpath, http://bugs.archlinux.org/task/19980
+ chrpath -d "$pkgdir/usr/lib/perl5/vendor_perl/auto/Xfce4/Xfconf/Xfconf.so"
+}
+
+# vim:set ts=2 sw=2 et: