aboutsummaryrefslogtreecommitdiffstats
path: root/main/desktop-file-utils/APKBUILD
blob: 27c6b52e0ac623af018433760f0e787146ac142b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=desktop-file-utils
pkgver=0.23
pkgrel=0
pkgdesc="Command line utilities for working with desktop entries"
url="http://www.freedesktop.org/wiki/Software/desktop-file-utils"
arch="all"
license="GPL"
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

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/desktop-file-utils-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
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"