aboutsummaryrefslogtreecommitdiffstats
path: root/main/desktop-file-utils/APKBUILD
blob: 51a6f3d5067c383bb08774826cdb76eaad9a91d3 (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.20
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 --prefix=/usr || return 1
	make || return 1
}

package() {
	cd "$srcdir"/desktop-file-utils-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="8c85cbc13632ba69077c6bc41ce4d0ac  desktop-file-utils-0.20.tar.xz"