* update desktop-file-utils to 0.26-2
This commit is contained in:
parent
574a20412a
commit
b05825fd88
@ -1,10 +1,11 @@
|
|||||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||||
|
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||||
# Contributor: Alexander Fehr <pizzapunk gmail com>
|
# Contributor: Alexander Fehr <pizzapunk gmail com>
|
||||||
|
|
||||||
pkgname=desktop-file-utils
|
pkgname=desktop-file-utils
|
||||||
pkgver=0.26
|
pkgver=0.26
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Command line utilities for working with desktop entries"
|
pkgdesc="Command line utilities for working with desktop entries"
|
||||||
arch=(x86_64 powerpc64le powerpc riscv64)
|
arch=(x86_64 powerpc64le powerpc riscv64)
|
||||||
url="https://www.freedesktop.org/wiki/Software/desktop-file-utils"
|
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)
|
update-desktop-database.hook)
|
||||||
sha256sums=('SKIP'
|
sha256sums=('SKIP'
|
||||||
'501f1eb35d9fbbd61666f40302b0ce63425299edf023c075986a24dc3ef18575')
|
'501f1eb35d9fbbd61666f40302b0ce63425299edf023c075986a24dc3ef18575')
|
||||||
validpgpkeys=('C01EDE5BB0D91E26D003662EC76BB9FEEAD12EA7') #Hans Petter Jansson <hpj@suse.com>
|
validpgpkeys=('C01EDE5BB0D91E26D003662EC76BB9FEEAD12EA7') # Hans Petter Jansson <hpj@cl.no>
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd $pkgname
|
cd $pkgname
|
||||||
git describe --tags | sed 's/-/+/g'
|
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd $pkgname
|
cd $pkgname
|
||||||
|
|
||||||
|
# Support Desktop Entry Spec 1.5
|
||||||
|
git cherry-pick -n 425177a28b62 56d220dd679c
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
@ -39,7 +43,7 @@ check() {
|
|||||||
package() {
|
package() {
|
||||||
depends+=(libglib-2.0.so)
|
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
|
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user