[arch-commits] Commit in desktop-file-utils/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sat Jun 20 07:26:03 UTC 2020
Date: Saturday, June 20, 2020 @ 07:26:02
Author: heftig
Revision: 389564
0.26-1
Modified:
desktop-file-utils/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-20 06:59:55 UTC (rev 389563)
+++ PKGBUILD 2020-06-20 07:26:02 UTC (rev 389564)
@@ -2,16 +2,16 @@
# Contributor: Alexander Fehr <pizzapunk gmail com>
pkgname=desktop-file-utils
-pkgver=0.24
-pkgrel=2
+pkgver=0.26
+pkgrel=1
pkgdesc="Command line utilities for working with desktop entries"
arch=(x86_64)
url="https://www.freedesktop.org/wiki/Software/desktop-file-utils"
license=(GPL)
depends=(glib2)
-makedepends=(git emacs)
-_commit=27d370de9ca5121550c343859455d0f1515e1ec5 # tags/0.24^0
-source=("git+https://anongit.freedesktop.org/git/xdg/desktop-file-utils#commit=$_commit"
+makedepends=(git meson)
+_commit=54cec012921e52eb66b6ee1a1f40f2e9c9849f7c # tags/0.26
+source=("git+https://gitlab.freedesktop.org/xdg/desktop-file-utils.git#commit=$_commit"
update-desktop-database.hook)
sha256sums=('SKIP'
'501f1eb35d9fbbd61666f40302b0ce63425299edf023c075986a24dc3ef18575')
@@ -24,22 +24,22 @@
prepare() {
cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd $pkgname
- ./configure --prefix=/usr
- make
+ arch-meson $pkgname build
+ meson compile -C build
}
check() {
- cd $pkgname
- make check
+ meson test -C build --print-errorlogs
}
package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
- install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 ../*.hook
+ depends+=(libglib-2.0.so)
+
+ DESTDIR="$pkgdir" meson install -C build
+ install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list