summaryrefslogblamecommitdiff
path: root/user/desktop-file-utils/APKBUILD
blob: f8a62336fd72c7cf20031d31ddb44a2578da7ec2 (plain) (tree)




































                                                                                                                                                                             
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=desktop-file-utils
pkgver=0.23
pkgrel=0
pkgdesc="Utilities for working with Desktop Entry files"
url="https://www.freedesktop.org/wiki/Software/desktop-file-utils/"
arch="all"
license="GPL-2.0+"
depends=""
makedepends="glib-dev"
subpackages="$pkgname-doc"
source="https://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-$pkgver.tar.xz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

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

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

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