aboutsummaryrefslogtreecommitdiffstats
path: root/main/desktop-file-utils/APKBUILD
blob: b095bc531178d8dcf614de269709536d4a6e83d9 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=desktop-file-utils
pkgver=0.21
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 libiconv-dev gettext-dev pkgconfig"
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="fda5c312c9fb3b8d818fb54f2c34db82  desktop-file-utils-0.21.tar.xz"