summaryrefslogtreecommitdiffstats
path: root/main/xfce4-settings/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xfce4-settings/APKBUILD')
-rw-r--r--main/xfce4-settings/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/main/xfce4-settings/APKBUILD b/main/xfce4-settings/APKBUILD
new file mode 100644
index 000000000..e733e5fcb
--- /dev/null
+++ b/main/xfce4-settings/APKBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=xfce4-settings
+pkgver=4.8.2
+pkgrel=0
+pkgdesc="Settings manager for xfce"
+url="http://www.xfce.org/"
+arch="all"
+license="GPL-2"
+depends=
+makedepends="libxfce4ui-dev exo-dev libxi-dev libxrandr-dev libxklavier-dev
+ libnotify-dev libxcursor-dev"
+source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
+ "
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ for i in "$srcdir"/*.patch; do
+ [ -f "$i" ] || continue
+ msg "Applying ${i##*/}"
+ patch -p1 -i "$i" || return 1
+ done
+
+ # use tango as default icon set
+ sed -i -e 's/Rodent/Tango/g' xfsettingsd/xsettings.xml \
+ dialogs/appearance-settings/main.c || return 1
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-libxklavier \
+ --enable-xrandr \
+ --enable-sound-settings
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="a45420fea20f29265ab6785cb1d07377 xfce4-settings-4.8.2.tar.bz2"