summaryrefslogblamecommitdiff
path: root/user/shared-mime-info/APKBUILD
blob: e28f8915fc624e0918bf5b88acc584ef1e17de83 (plain) (tree)




































                                                                                                                                                                           
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=shared-mime-info
pkgver=1.10
pkgrel=0
pkgdesc="MIME database for desktop software"
url="https://freedesktop.org/wiki/Software/shared-mime-info"
arch="all"
license="GPL-2.0+"
makedepends="glib-dev intltool libxml2-dev libxml2-utils"
depends=
install="$pkgname.post-deinstall"
triggers="$pkgname.trigger=/usr/share/mime"
subpackages="$pkgname-doc $pkgname-lang"
source="https://freedesktop.org/~hadess/$pkgname-$pkgver.tar.xz"

build() {
	cd "$builddir"
	ac_cv_func_fdatasync=no ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-default-make-check \
		--disable-update-mimedb
	make -j1
}

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

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

sha512sums="efc2b63cae11e6b0332f8607ba57a885dec68a23ac299bbda3eb6e2c7ed071c7c40dba73e9cf23ab675fcaa86ea3777fa931a9f25000a08ec6a748734c88beda  shared-mime-info-1.10.tar.xz"