summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2017-10-12 20:51:32 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2017-10-12 20:51:32 +0000
commit76b3f7e236133969ebe324333bc4a27710f0ed7d (patch)
tree1966077d6183a20124dc21ff02533be37aeffdcd
parent9ec00eeb43258c9b825367261dff6dae6ea9be78 (diff)
parentd28584e0e236f0edac302c26c784c1a17865693c (diff)
downloadpackages-76b3f7e236133969ebe324333bc4a27710f0ed7d.tar.gz
packages-76b3f7e236133969ebe324333bc4a27710f0ed7d.tar.bz2
packages-76b3f7e236133969ebe324333bc4a27710f0ed7d.tar.xz
packages-76b3f7e236133969ebe324333bc4a27710f0ed7d.zip
Merge branch 'xdg-user-dirs' into 'master'
user/xdg-user-dirs: new package See merge request !2
-rw-r--r--user/xdg-user-dirs/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/xdg-user-dirs/APKBUILD b/user/xdg-user-dirs/APKBUILD
new file mode 100644
index 000000000..d4523f14f
--- /dev/null
+++ b/user/xdg-user-dirs/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=xdg-user-dirs
+pkgver=0.16
+pkgrel=0
+pkgdesc="Utilities for locale-aware management of user directories."
+url="https://www.freedesktop.org/wiki/Software/xdg-user-dirs/"
+arch="all"
+license="GPL-2.0+ MIT"
+depends=""
+makedepends="gettext-dev"
+install=""
+subpackages="$pkgname-lang $pkgname-doc"
+source="http://user-dirs.freedesktop.org/releases/xdg-user-dirs-$pkgver.tar.gz"
+builddir="$srcdir/xdg-user-dirs-$pkgver"
+# no tests
+options="!check"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="245513d1b16adc970b4a3c0b4a078cdeda62d36b39e4561754d8331e76ee0013a769d8c2e43c94f8b5c378619ee58bca534721a8675ceaeccbb3fdf69cf6f7ae xdg-user-dirs-0.16.tar.gz"