aboutsummaryrefslogtreecommitdiffstats
path: root/main/shared-mime-info/APKBUILD
blob: 5d42c2414c5fd1a4116ef0b3d247d2409c535ddd (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=shared-mime-info
pkgver=1.8
pkgrel=0
pkgdesc="Freedesktop.org Shared MIME Info"
url="http://freedesktop.org/Software/shared-mime-info"
arch="all"
license="GPL"
makedepends="libxml2-dev libxml2-utils glib-dev intltool"
depends=
install="$pkgname.post-deinstall"
triggers="$pkgname.trigger=/usr/share/mime"
subpackages="$pkgname-doc $pkgname-lang"
source="http://freedesktop.org/~hadess/$pkgname-$pkgver.tar.xz"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	ac_cv_func_fdatasync=no ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-update-mimedb \
		|| return 1
	make -j1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make -j1 DESTDIR="$pkgdir" install
}
md5sums="f6dcadce764605552fc956563efa058c  shared-mime-info-1.8.tar.xz"
sha256sums="2af55ef1a0319805b74ab40d331a3962c905477d76c086f49e34dc96363589e9  shared-mime-info-1.8.tar.xz"
sha512sums="e3fd57898ca85033a29f17d075b9a18a6ebee14db5f996183fd1183a6c6382c3d10c74cd1863563cd031359937ab95c886909ba6f9d7ecc8f2056464673b5fff  shared-mime-info-1.8.tar.xz"