summaryrefslogtreecommitdiff
path: root/extra/xdg-user-dirs-gtk
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
committerroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
commit98bf2ac3fdd6f7bcb6ce45c932fc13c07fecc03f (patch)
tree00d9cdbfdc8ef5d7a4a7159a8c6439008509e662 /extra/xdg-user-dirs-gtk
parent9988621f899d7d4ae5fd0a4a32a4ba3abc5a527d (diff)
Wed Apr 25 00:01:35 UTC 2012
Diffstat (limited to 'extra/xdg-user-dirs-gtk')
-rw-r--r--extra/xdg-user-dirs-gtk/PKGBUILD30
-rw-r--r--extra/xdg-user-dirs-gtk/lxde.patch15
2 files changed, 45 insertions, 0 deletions
diff --git a/extra/xdg-user-dirs-gtk/PKGBUILD b/extra/xdg-user-dirs-gtk/PKGBUILD
new file mode 100644
index 000000000..6f80312ed
--- /dev/null
+++ b/extra/xdg-user-dirs-gtk/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 157004 2012-04-23 09:11:01Z ibiru $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+
+pkgname=xdg-user-dirs-gtk
+pkgver=0.8
+pkgrel=1
+pkgdesc="Creates user dirs and asks to relocalize them"
+arch=(i686 x86_64)
+license=('GPL')
+depends=('gtk2' 'xdg-user-dirs')
+makedepends=('intltool')
+options=('!libtool' '!emptydirs')
+url="http://www.gnome.org"
+groups=('gnome')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.bz2
+ lxde.patch)
+sha256sums=('971e5cd121606c437c2b07e189c8f34791ae0c4d81e155266d71acc7b263ad32'
+ '5db6a2fd5bb293deff0322e9f20a383130e05df2d35d64568a47b5fe63d6ebf4')
+
+build() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../lxde.patch
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
diff --git a/extra/xdg-user-dirs-gtk/lxde.patch b/extra/xdg-user-dirs-gtk/lxde.patch
new file mode 100644
index 000000000..c5520475c
--- /dev/null
+++ b/extra/xdg-user-dirs-gtk/lxde.patch
@@ -0,0 +1,15 @@
+diff -up xdg-user-dirs-gtk-0.8/user-dirs-update-gtk.desktop.in.lxde xdg-user-dirs-gtk-0.8/user-dirs-update-gtk.desktop.in
+--- xdg-user-dirs-gtk-0.8/user-dirs-update-gtk.desktop.in.lxde 2010-02-13 23:52:49.130115833 -0500
++++ xdg-user-dirs-gtk-0.8/user-dirs-update-gtk.desktop.in 2010-02-13 23:54:57.574114211 -0500
+@@ -1,10 +1,9 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Exec=xdg-user-dirs-gtk-update
+ _Name=User folders update
+ _Comment=Update common folders names to match current locale
+ Terminal=false
+-OnlyShowIn=GNOME;
++OnlyShowIn=GNOME;LXDE;
+ Type=Application
+ StartupNotify=false
+ X-KDE-autostart-after=panel