summaryrefslogtreecommitdiff
path: root/extra/xdg-user-dirs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xdg-user-dirs/PKGBUILD')
-rw-r--r--extra/xdg-user-dirs/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/xdg-user-dirs/PKGBUILD b/extra/xdg-user-dirs/PKGBUILD
new file mode 100644
index 000000000..c3098d5df
--- /dev/null
+++ b/extra/xdg-user-dirs/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 153519 2012-03-15 14:03:02Z heftig $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: <mathieu.clabaut@gmail.com>
+
+pkgname=xdg-user-dirs
+pkgver=0.14
+pkgrel=3
+pkgdesc="Manage user directories like ~/Desktop and ~/Music"
+arch=('i686' 'x86_64')
+depends=('sh')
+url="http://www.freedesktop.org/wiki/Software/xdg-user-dirs"
+license=('GPL')
+backup=('etc/xdg/user-dirs.conf' 'etc/xdg/user-dirs.defaults')
+source=(http://user-dirs.freedesktop.org/releases/$pkgname-$pkgver.tar.gz
+ xdg-user-dirs)
+sha256sums=('5f4e84f57c113f642ffdd646126855f45f1da955103119dbd2382edb516e6255'
+ 'f0f27de23d849b2fa4ebf59e448b5a843b577d14dc2c1070e228999091fa7f5e')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -D ../xdg-user-dirs "$pkgdir/etc/X11/xinit/xinitrc.d/xdg-user-dirs"
+}