summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/xfce4-session/APKBUILD37
l---------x11/xfce4-session/xfce4-session.post-deinstall1
-rw-r--r--x11/xfce4-session/xfce4-session.post-install4
3 files changed, 42 insertions, 0 deletions
diff --git a/x11/xfce4-session/APKBUILD b/x11/xfce4-session/APKBUILD
new file mode 100644
index 00000000..ec03ece0
--- /dev/null
+++ b/x11/xfce4-session/APKBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=xfce4-session
+pkgver=4.6.1
+pkgrel=0
+pkgdesc="A session manager for Xfce"
+url="http://www.xfce.org/"
+license="GPL2"
+subpackages="$pkgname-dev $pkgname-doc"
+makedepends="pkgconfig libxfcegui4-dev libwnck-dev libglade-dev intltool
+ gettext-dev libiconv-dev iceauth libice-dev libsm-dev expat-dev
+ e2fsprogs-dev zlib-dev"
+depends="hicolor-icon-theme"
+install="xfce4-session.post-install xfce4-session.post-deinstall"
+source="http://www.xfce.org/archive/xfce-$pkgver/src/$pkgname-$pkgver.tar.bz2
+ $install"
+
+depends_dev="libxfcegui4-dev xfconf-dev"
+
+build ()
+{
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/xfce4 \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-legacy-sm \
+ --disable-gnome \
+ --enable-session-screenshots \
+ --with-shutdown-style=auto || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="7628be41ed3511a20cff5673d9d39858 xfce4-session-4.6.1.tar.bz2
+db51db79681eadc47be4932355a77c25 xfce4-session.post-install
+db51db79681eadc47be4932355a77c25 xfce4-session.post-deinstall"
diff --git a/x11/xfce4-session/xfce4-session.post-deinstall b/x11/xfce4-session/xfce4-session.post-deinstall
new file mode 120000
index 00000000..7242718f
--- /dev/null
+++ b/x11/xfce4-session/xfce4-session.post-deinstall
@@ -0,0 +1 @@
+xfce4-session.post-install \ No newline at end of file
diff --git a/x11/xfce4-session/xfce4-session.post-install b/x11/xfce4-session/xfce4-session.post-install
new file mode 100644
index 00000000..c523d78d
--- /dev/null
+++ b/x11/xfce4-session/xfce4-session.post-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+