PKGBUILD 1012 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $Id$
  2. # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
  3. # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
  4. # Contributor: <mathieu.clabaut@gmail.com>
  5. # Maintainer: David P. <megver83@parabola.nu>
  6. pkgname=xdg-user-dirs
  7. pkgver=0.17
  8. pkgrel=2
  9. pkgrel+=.nonsystemd1
  10. pkgdesc="Manage user directories like ~/Desktop and ~/Music"
  11. arch=(x86_64 i686 armv7h)
  12. url="https://www.freedesktop.org/wiki/Software/xdg-user-dirs"
  13. license=(GPL)
  14. depends=(sh)
  15. makedepends=(docbook-xsl git)
  16. backup=(etc/xdg/user-dirs.conf etc/xdg/user-dirs.defaults)
  17. options=(!emptydirs)
  18. _commit=ec015cdd345dec8025948533e7a6f18680e7f70c # tags/0.17^0
  19. source=("git+https://gitlab.freedesktop.org/xdg/xdg-user-dirs.git#commit=$_commit")
  20. sha256sums=('SKIP')
  21. pkgver() {
  22. cd $pkgname
  23. git describe --tags | sed 's/-/+/g'
  24. }
  25. prepare() {
  26. cd $pkgname
  27. NOCONFIGURE=1 ./autogen.sh
  28. }
  29. build() {
  30. cd $pkgname
  31. ./configure --prefix=/usr --sysconfdir=/etc
  32. make
  33. }
  34. package() {
  35. cd $pkgname
  36. make DESTDIR="$pkgdir" install
  37. }