diff options
-rw-r--r-- | nonsystemd/xdg-user-dirs/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/nonsystemd/xdg-user-dirs/PKGBUILD b/nonsystemd/xdg-user-dirs/PKGBUILD new file mode 100644 index 000000000..0dfe7ed78 --- /dev/null +++ b/nonsystemd/xdg-user-dirs/PKGBUILD @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor: Stefan Husmann <stefan-husmann@t-online.de> +# Contributor: <mathieu.clabaut@gmail.com> +# Maintainer: David P. <megver83@parabola.nu> + +pkgname=xdg-user-dirs +pkgver=0.17 +pkgrel=1 +pkgrel+=.nonsystemd1 +pkgdesc="Manage user directories like ~/Desktop and ~/Music" +arch=(x86_64 i686 armv7h) +url="http://www.freedesktop.org/wiki/Software/xdg-user-dirs" +license=(GPL) +depends=(sh) +makedepends=(docbook-xsl git) +backup=(etc/xdg/user-dirs.conf etc/xdg/user-dirs.defaults) +options=(!emptydirs) +_commit=ec015cdd345dec8025948533e7a6f18680e7f70c # tags/0.17^0 +source=("git+https://anongit.freedesktop.org/git/xdg/xdg-user-dirs#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd $pkgname + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +} |