summaryrefslogtreecommitdiffstats
path: root/abs/extra/gnome-mime-data/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-15 15:45:16 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-15 15:45:16 (GMT)
commit096f7dedbe0e37f2b36fa9094c5c50a29ce26036 (patch)
tree2f274a1adbac5f930dd557dcdb142bbe259acb35 /abs/extra/gnome-mime-data/PKGBUILD
parente5740218096291e6683bd9e762e078cb5eb0996f (diff)
downloadlinhes_pkgbuild-096f7dedbe0e37f2b36fa9094c5c50a29ce26036.zip
linhes_pkgbuild-096f7dedbe0e37f2b36fa9094c5c50a29ce26036.tar.gz
linhes_pkgbuild-096f7dedbe0e37f2b36fa9094c5c50a29ce26036.tar.bz2
gnome-mime-data: 2.18.0
rebuild
Diffstat (limited to 'abs/extra/gnome-mime-data/PKGBUILD')
-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/"
}