summaryrefslogtreecommitdiff
path: root/extra/xdg-user-dirs/PKGBUILD
blob: c3098d5dfb6351e3b6ebcdcd675f4d0b7c43ec95 (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
# $Id: PKGBUILD 153519 2012-03-15 14:03:02Z 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.14
pkgrel=3
pkgdesc="Manage user directories like ~/Desktop and ~/Music"
arch=('i686' 'x86_64')
depends=('sh')
url="http://www.freedesktop.org/wiki/Software/xdg-user-dirs"
license=('GPL')
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=('5f4e84f57c113f642ffdd646126855f45f1da955103119dbd2382edb516e6255'
            '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"
}