blob: 0dfe7ed785cb05dde07f89f9f2ac0e781ead05f4 (
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
32
33
34
35
36
37
38
39
40
41
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
}
|