mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/desktop-file-utils: license, tests, modernise
This commit is contained in:
parent
f2625e8f31
commit
2334b0f09a
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user