blob: a047b6b6fdcaffa8861624bcd1240acf4a6bd148 (
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.6
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="10abc5c4e6b22223ff05c3bd70ff9e8f shared-mime-info-1.6.tar.xz"
sha256sums="b2f8f85b6467933824180d0252bbcaee523f550a8fbc95cc4391bd43c03bc34c shared-mime-info-1.6.tar.xz"
sha512sums="01c57759d363a2f0513cda94de5eb236f3d56683630a1be12278d9043d6184cf5f04a25b9cdca76b72fe42590542dfd41ae39f4e9bcd9cb239c200e9079a5840 shared-mime-info-1.6.tar.xz"
|