desktop/gnome-mime-data/PKGBUILD

28 lines
695 B
Bash

# Support packages for Desktop
pkgname=gnome-mime-data
pkgver=2.18.0
pkgrel=1
pkgdesc="The base MIME and Application database for GNOME"
arch=(any)
license=('GPL')
depends=('shared-mime-info')
makedepends=('intltool')
url="http://www.gnome.org"
source=(ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.18/${pkgname}-${pkgver}.tar.bz2)
md5sums=('541858188f80090d12a33b5a7c34d42c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/lib"
mv "${pkgdir}/usr/share/pkgconfig" "${pkgdir}/usr/lib/"
}