summaryrefslogtreecommitdiff
path: root/user/desktop-file-utils/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-22 02:07:33 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-22 02:07:33 +0000
commit8b4b0fe3083f6f8eeec59113acfa58bf3f7daa03 (patch)
tree59277da826c36cd0949a0ef3296332aadf1a1f24 /user/desktop-file-utils/APKBUILD
parentcba5714cfdfdf483856b7fc24375d1ec197044e2 (diff)
downloadpackages-8b4b0fe3083f6f8eeec59113acfa58bf3f7daa03.tar.gz
packages-8b4b0fe3083f6f8eeec59113acfa58bf3f7daa03.tar.bz2
packages-8b4b0fe3083f6f8eeec59113acfa58bf3f7daa03.tar.xz
packages-8b4b0fe3083f6f8eeec59113acfa58bf3f7daa03.zip
user/desktop-file-utils: Update to 0.26, switch to Meson
Diffstat (limited to 'user/desktop-file-utils/APKBUILD')
-rw-r--r--user/desktop-file-utils/APKBUILD21
1 files changed, 8 insertions, 13 deletions
diff --git a/user/desktop-file-utils/APKBUILD b/user/desktop-file-utils/APKBUILD
index 62a1e58bb..4dd077102 100644
--- a/user/desktop-file-utils/APKBUILD
+++ b/user/desktop-file-utils/APKBUILD
@@ -1,34 +1,29 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=desktop-file-utils
-pkgver=0.24
+pkgver=0.26
pkgrel=0
pkgdesc="Utilities for working with Desktop Entry files"
url="https://www.freedesktop.org/wiki/Software/desktop-file-utils/"
arch="all"
+options="!check" # No test suite.
license="GPL-2.0+"
depends=""
-makedepends="glib-dev"
+makedepends="glib-dev meson ninja"
subpackages="$pkgname-doc"
source="https://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-$pkgver.tar.xz"
build() {
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var
- make
+ meson -Dprefix=/usr build
+ ninja -C build
}
check() {
- make check
+ ninja -C build check
}
package() {
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C build install
}
-sha512sums="b19d700d4403c8757c62e49bb7650e0138a85e799f79de07b0d0099a52398a3ead90c8125ccc883df6e2a3f8f5f97696009ebb7452dc7acc25afeef20e06fde0 desktop-file-utils-0.24.tar.xz"
+sha512sums="5b4e435f0b635d8f898ac7f5759f74a08ffbe2a56d41fee0e84ff57e73b98d08b57b4416f20b99f696dad8bcb1c20792b39acf836b0814220c0b386ea5f6b831 desktop-file-utils-0.26.tar.xz"