summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-28 02:02:07 -0700
committerDan Theisen <djt@hxx.in>2018-09-28 02:02:07 -0700
commitdd696e6ecb19040686902d608141c1c3c58e96cc (patch)
tree4f3c6d4d1824de9bbeca50c79978bc4d3714b70f
parentd0160a7d02d68accc2649d5b9cb865911261daa9 (diff)
downloadpackages-dd696e6ecb19040686902d608141c1c3c58e96cc.tar.gz
packages-dd696e6ecb19040686902d608141c1c3c58e96cc.tar.bz2
packages-dd696e6ecb19040686902d608141c1c3c58e96cc.tar.xz
packages-dd696e6ecb19040686902d608141c1c3c58e96cc.zip
user/libxdg-basedir: new package, ugh
-rw-r--r--user/libxdg-basedir/APKBUILD38
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"