aboutsummaryrefslogtreecommitdiffstats
path: root/main/desktop-file-utils/APKBUILD
blob: 2eac47396c193e6d547aa8aaf6056678ac78b5f1 (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
34
35
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=desktop-file-utils
pkgver=0.23
pkgrel=1
pkgdesc="Command line utilities for working with desktop entries"
url="http://www.freedesktop.org/wiki/Software/desktop-file-utils"
arch="all"
license="GPL-2.0+"
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 "$builddir"

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

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="66a8ddfbb2be8edc14e16427e0dafa6fb1ef7491c816f19221fb5d5782e964cdcc3ae89807339f1c565af828aa83403cc56edeb2d03b3f93e013f3c5e9e6fe6a  desktop-file-utils-0.23.tar.xz"