summaryrefslogtreecommitdiff
path: root/extra/xdg-user-dirs/PKGBUILD
blob: 9a2b73d2984fe7fe67bf97d0dab380c216aa0cda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 189993 2013-07-12 15:01:21Z 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.15
pkgrel=1
pkgdesc="Manage user directories like ~/Desktop and ~/Music"
arch=(i686 x86_64 mips64el)
url="http://www.freedesktop.org/wiki/Software/xdg-user-dirs"
license=(GPL)
depends=(sh)
makedepends=(docbook-xsl)
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=('20b4a751f41d0554bce3e0ce5e8d934be98cc62d48f0b90a894c3e1916552786'
            '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"
}