summaryrefslogtreecommitdiffstats
path: root/main/desktop-file-utils/APKBUILD
blob: 9a74a7f210743d7a2c6e95e04e333f3d048011c3 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=desktop-file-utils
pkgver=0.18
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.bz2"

build ()
{
	cd "$srcdir"/desktop-file-utils-$pkgver

	./configure --prefix=/usr || return 1
	make || return 1
}

package() {
	cd "$srcdir"/desktop-file-utils-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="d966b743eb394650f98d5dd56b9aece1  desktop-file-utils-0.18.tar.bz2"