diff options
Diffstat (limited to 'user/libxdg-basedir')
-rw-r--r-- | user/libxdg-basedir/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/user/libxdg-basedir/APKBUILD b/user/libxdg-basedir/APKBUILD new file mode 100644 index 000000000..aa2e4ca5b --- /dev/null +++ b/user/libxdg-basedir/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Dan Theisen <djt@hxx.in> +# TODO: Repackage from better source, rehost or something. +pkgname=libxdg-basedir +pkgver=1.2.0 +pkgrel=0 +pkgdesc="library for XDG base dir specification" +url="https://nevill.ch/libxdg-basedir/" +arch="all" +license="MIT" +depends="" +makedepends="" +subpackages="$pkgname-dev" +source="https://nevill.ch/libxdg-basedir/downloads/$pkgname-$pkgver.tar.gz" + +builddir="$srcdir/$pkgname-$pkgname-$pkgver" +build() { + cd "$builddir" + ./autogen.sh \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="8584405d45e0b57e570666b6eab6d99d70411d00f88965826c9ed0292372385668f190157a10ff536f3a5a59fd0031b332ecbb8a38ac64eda1b04a0603997406 libxdg-basedir-1.2.0.tar.gz" |