# Contributor: # Maintainer: pkgname=gnome-mime-data pkgver=2.18.0 pkgrel=1 pkgdesc="MIME data for GNOME environment" url="https://www.gnome.org/" arch="noarch" license="LGPL" depends= depends_dev= makedepends="glib-dev intltool" install="" subpackages="$pkgname-lang" source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2" _builddir="${srcdir}/${pkgname}-${pkgver}" prepare() { local i cd "$_builddir" update_config_sub || return 1 for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --disable-scrollkeeper \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } sha512sums="132996786254799341eeaa7894749cf4a95e391e31d985b1527b2f3dfeeeb01e7cc000753fc21d559db07fcc92018f4839f170eb149cb457fe06058ad3d986d5 gnome-mime-data-2.18.0.tar.bz2"