aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxdg-basedir
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-09-16 10:22:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-09-16 10:22:33 +0000
commit6342a162510f7170d9eb0a4d2d503d38aac932fd (patch)
treecfa81b8fe8ea1c885b9063cd575fcb2ae3e02012 /main/libxdg-basedir
parent42267042ca2b03e44ef82ea02adb8dcc6577a46f (diff)
downloadaports-6342a162510f7170d9eb0a4d2d503d38aac932fd.tar.bz2
aports-6342a162510f7170d9eb0a4d2d503d38aac932fd.tar.xz
main/libxdg-basedir: moved from main
Diffstat (limited to 'main/libxdg-basedir')
-rw-r--r--main/libxdg-basedir/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/libxdg-basedir/APKBUILD b/main/libxdg-basedir/APKBUILD
new file mode 100644
index 0000000000..17d56fdde5
--- /dev/null
+++ b/main/libxdg-basedir/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libxdg-basedir
+pkgver=1.1.1
+pkgrel=1
+pkgdesc="library for XDG base dir specification"
+url="http://n.ethz.ch/~nevillm/download/libxdg-basedir/"
+arch="all"
+license="MIT"
+depends=
+depends_dev=
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev"
+source="http://n.ethz.ch/~nevillm/download/libxdg-basedir/${pkgname}-${pkgver}.tar.gz"
+
+_builddir="${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="7c64a28b08c8fdf6c8a95b0d5f1497b0 libxdg-basedir-1.1.1.tar.gz"