summaryrefslogtreecommitdiff
path: root/user/xdg-user-dirs/APKBUILD
blob: e754a868ea9a2968a5f50c4c8bed555a8ddf6f18 (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
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=xdg-user-dirs
pkgver=0.17
pkgrel=0
pkgdesc="Utilities for locale-aware management of user directories."
url="https://www.freedesktop.org/wiki/Software/xdg-user-dirs/"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0+ AND MIT"
depends=""
makedepends="docbook-xsl"
subpackages="$pkgname-lang $pkgname-doc"
source="https://user-dirs.freedesktop.org/releases/xdg-user-dirs-$pkgver.tar.gz"

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="a02cc251f2d0a8bd0dad498901c8c6fbe8dae0e0e156abcaf27b1ded376a1ed369c2e59201d56ab4e38c9d521026fa39199177f3868c30e5c50cc03665dc335f  xdg-user-dirs-0.17.tar.gz"