summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/desktop-file-utils/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/desktop-file-utils/APKBUILD b/user/desktop-file-utils/APKBUILD
new file mode 100644
index 000000000..f8a62336f
--- /dev/null
+++ b/user/desktop-file-utils/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=desktop-file-utils
+pkgver=0.23
+pkgrel=0
+pkgdesc="Utilities for working with Desktop Entry files"
+url="https://www.freedesktop.org/wiki/Software/desktop-file-utils/"
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends="glib-dev"
+subpackages="$pkgname-doc"
+source="https://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="66a8ddfbb2be8edc14e16427e0dafa6fb1ef7491c816f19221fb5d5782e964cdcc3ae89807339f1c565af828aa83403cc56edeb2d03b3f93e013f3c5e9e6fe6a desktop-file-utils-0.23.tar.xz"