summaryrefslogtreecommitdiff
path: root/user/libxdg-basedir/APKBUILD
blob: 70fe0d51282bb86d28c8f2a22fa1fa396a8991d5 (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
37
38
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=libxdg-basedir
pkgver=1.2.0
pkgrel=0
pkgdesc="library for XDG base dir specification"
url=" "  # No URL.
arch="all"
license="MIT"
depends=""
makedepends="autoconf automake libtool"
subpackages="$pkgname-dev"
source="http://ponce.cc/slackware/sources/repo/libxdg-basedir-1.2.0.tar.xz"

prepare() {
	default_prepare
	./autogen.sh
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
	make
}

check() {
	make check
}

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

sha512sums="f1766cd94dd66fcba9211427910ef02c7f203c7bf655e74b903566a68521d1c156c9687cd89eca73428098c0a78a1458cada2057dd9268b6f6b48229c80b5d2e  libxdg-basedir-1.2.0.tar.xz"