summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/gnome-mime-data/PKGBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/abs/extra/gnome-mime-data/PKGBUILD b/abs/extra/gnome-mime-data/PKGBUILD
index 2ce4092..e9294d8 100644
--- a/abs/extra/gnome-mime-data/PKGBUILD
+++ b/abs/extra/gnome-mime-data/PKGBUILD
@@ -1,25 +1,28 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 150864 2012-02-23 13:07:49Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gnome-mime-data
pkgver=2.18.0
-pkgrel=3
+pkgrel=6
pkgdesc="The base MIME and Application database for GNOME"
-arch=(i686 x86_64)
+arch=(any)
license=('GPL')
depends=('shared-mime-info')
-makedepens=('perlxml')
+makedepends=('intltool')
url="http://www.gnome.org"
-groups=('gnome')
source=(ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.18/${pkgname}-${pkgver}.tar.bz2)
md5sums=('541858188f80090d12a33b5a7c34d42c')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
- make || return 1
- make DESTDIR=${startdir}/pkg install
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
- mkdir -p ${startdir}/pkg/usr/lib
- mv ${startdir}/pkg/usr/share/pkgconfig ${startdir}/pkg/usr/lib/
+ install -m755 -d "${pkgdir}/usr/lib"
+ mv "${pkgdir}/usr/share/pkgconfig" "${pkgdir}/usr/lib/"
}