* update desktop-file-utils to 0.26-2

This commit is contained in:
Alexander Baldeck 2022-03-03 20:38:31 +01:00
parent 574a20412a
commit b05825fd88

View File

@ -1,10 +1,11 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
pkgname=desktop-file-utils
pkgver=0.26
pkgrel=1
pkgrel=2
pkgdesc="Command line utilities for working with desktop entries"
arch=(x86_64 powerpc64le powerpc riscv64)
url="https://www.freedesktop.org/wiki/Software/desktop-file-utils"
@ -16,15 +17,18 @@ source=("git+https://gitlab.freedesktop.org/xdg/desktop-file-utils.git#commit=$_
update-desktop-database.hook)
sha256sums=('SKIP'
'501f1eb35d9fbbd61666f40302b0ce63425299edf023c075986a24dc3ef18575')
validpgpkeys=('C01EDE5BB0D91E26D003662EC76BB9FEEAD12EA7') #Hans Petter Jansson <hpj@suse.com>
validpgpkeys=('C01EDE5BB0D91E26D003662EC76BB9FEEAD12EA7') # Hans Petter Jansson <hpj@cl.no>
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
# Support Desktop Entry Spec 1.5
git cherry-pick -n 425177a28b62 56d220dd679c
}
build() {
@ -39,7 +43,7 @@ check() {
package() {
depends+=(libglib-2.0.so)
DESTDIR="$pkgdir" meson install -C build
meson install -C build --destdir "$pkgdir"
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
}