aboutsummaryrefslogtreecommitdiffstats
path: root/main/desktop-file-utils/APKBUILD
blob: 37c92da8d53f5487cc3852613fe1436b02712927 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=desktop-file-utils
pkgver=0.22
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="c6b9f9aac1ea143091178c23437e6cd0  desktop-file-utils-0.22.tar.xz"
sha256sums="843532672692f98e9b2d6ae6cc8658da562dfde1606c7f33d9d227a344de56c5  desktop-file-utils-0.22.tar.xz"
sha512sums="26c1f0da44e4d3fc286640084ad1fad0595fc94edb5d2edd2a4d8cbed0aea4e409aa1a610cbba372f8e540188b62aed764fc7fdecddefbcfeeaedd1d19e3d20a  desktop-file-utils-0.22.tar.xz"