summaryrefslogtreecommitdiff
path: root/user/xdg-user-dirs/APKBUILD
blob: d4523f14fc1729329d3bcf7d59e928fa71405dbf (plain) (blame)
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
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=xdg-user-dirs
pkgver=0.16
pkgrel=0
pkgdesc="Utilities for locale-aware management of user directories."
url="https://www.freedesktop.org/wiki/Software/xdg-user-dirs/"
arch="all"
license="GPL-2.0+ MIT"
depends=""
makedepends="gettext-dev"
install=""
subpackages="$pkgname-lang $pkgname-doc"
source="http://user-dirs.freedesktop.org/releases/xdg-user-dirs-$pkgver.tar.gz"
builddir="$srcdir/xdg-user-dirs-$pkgver"
# no tests
options="!check"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="245513d1b16adc970b4a3c0b4a078cdeda62d36b39e4561754d8331e76ee0013a769d8c2e43c94f8b5c378619ee58bca534721a8675ceaeccbb3fdf69cf6f7ae  xdg-user-dirs-0.16.tar.gz"