aboutsummaryrefslogtreecommitdiffstats
path: root/main/desktop-file-utils
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-05 15:47:42 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-07 04:58:30 +0000
commit2334b0f09ac8ccdb5760fc7e60d59498b086c0f8 (patch)
treedeb89e0bca20610cd4a71c34ba37ad03bc147484 /main/desktop-file-utils
parentf2625e8f31bb237d49e60a33eb1665b4979ead80 (diff)
downloadaports-2334b0f09ac8ccdb5760fc7e60d59498b086c0f8.tar.bz2
aports-2334b0f09ac8ccdb5760fc7e60d59498b086c0f8.tar.xz
main/desktop-file-utils: license, tests, modernise
Diffstat (limited to 'main/desktop-file-utils')
-rw-r--r--main/desktop-file-utils/APKBUILD26
1 files changed, 14 insertions, 12 deletions
diff --git a/main/desktop-file-utils/APKBUILD b/main/desktop-file-utils/APKBUILD
index 27c6b52e0a..2eac47396c 100644
--- a/main/desktop-file-utils/APKBUILD
+++ b/main/desktop-file-utils/APKBUILD
@@ -1,33 +1,35 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=desktop-file-utils
pkgver=0.23
-pkgrel=0
+pkgrel=1
pkgdesc="Command line utilities for working with desktop entries"
url="http://www.freedesktop.org/wiki/Software/desktop-file-utils"
arch="all"
-license="GPL"
+license="GPL-2.0+"
depends=
makedepends="glib-dev gettext-dev"
subpackages="$pkgname-doc"
triggers="$pkgname.trigger=/usr/share/applications"
source="http://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.xz"
-build ()
-{
- cd "$srcdir"/desktop-file-utils-$pkgver
+build() {
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
- --prefix=/usr \
- || return 1
- make || return 1
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
- cd "$srcdir"/desktop-file-utils-$pkgver
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="599133d51cc9a41bfec186414906b6f1 desktop-file-utils-0.23.tar.xz"
-sha256sums="6c094031bdec46c9f621708f919084e1cb5294e2c5b1e4c883b3e70cb8903385 desktop-file-utils-0.23.tar.xz"
+
sha512sums="66a8ddfbb2be8edc14e16427e0dafa6fb1ef7491c816f19221fb5d5782e964cdcc3ae89807339f1c565af828aa83403cc56edeb2d03b3f93e013f3c5e9e6fe6a desktop-file-utils-0.23.tar.xz"