1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
3 # Contributor: <mathieu.clabaut@gmail.com>
8 pkgdesc="Manage user directories like ~/Desktop and ~/Music"
10 url="https://www.freedesktop.org/wiki/Software/xdg-user-dirs"
13 makedepends=(docbook-xsl git)
14 backup=(etc/xdg/user-dirs.conf etc/xdg/user-dirs.defaults)
15 install=xdg-user-dirs.install
17 _commit=ec015cdd345dec8025948533e7a6f18680e7f70c # tags/0.17^0
18 source=("git+https://gitlab.freedesktop.org/xdg/xdg-user-dirs.git#commit=$_commit"
19 xdg-user-dirs-update.service)
21 '53c75f52d782e9492601400236bc8e5bfa76a26f0afd9bce3fe8df1740d341f0')
25 git describe --tags | sed 's/-/+/g'
30 NOCONFIGURE=1 ./autogen.sh
35 ./configure --prefix=/usr --sysconfdir=/etc
41 make DESTDIR="$pkgdir" install
44 rm "$pkgdir/etc/xdg/autostart/xdg-user-dirs.desktop"
45 install -Dt "$pkgdir/usr/lib/systemd/user" -m644 ../xdg-user-dirs-update.service