summaryrefslogtreecommitdiff
path: root/user/xdg-user-dirs/APKBUILD
blob: 75baf6fd75a31842194a5b071e112e10420483a0 (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
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=xdg-user-dirs
pkgver=0.18
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() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

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

sha512sums="f523b2ba4f840a3c2a5730f72182fb5bb798187db769bfb7d36e9f780442813278a2c1bad656b4fb38428131241a51d07200a62b4d7b935d49a74be53f969716  xdg-user-dirs-0.18.tar.gz"