summaryrefslogtreecommitdiff
path: root/nonsystemd
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-05-09 22:41:39 -0300
committerDavid P <megver83@parabola.nu>2018-05-09 22:41:39 -0300
commit896083f391f7b941d782cbac6e6d51ba2fe52990 (patch)
treec4fc27183ec14470089894317328387e913760fb /nonsystemd
parenta8c4d95295f9f60aeba2cbefed3d2f8bc06cedca (diff)
downloadabslibre-896083f391f7b941d782cbac6e6d51ba2fe52990.tar.gz
abslibre-896083f391f7b941d782cbac6e6d51ba2fe52990.tar.bz2
abslibre-896083f391f7b941d782cbac6e6d51ba2fe52990.zip
nonsystemd/xdg-user-dirs: add package
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd')
-rw-r--r--nonsystemd/xdg-user-dirs/PKGBUILD42
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
+}