summaryrefslogtreecommitdiff
path: root/extra/fyre
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-08 11:30:39 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-08 11:30:39 -0300
commit0f0bf3b7f0398f0882fa5b7cc3534180cabd9318 (patch)
tree968fcbe1bf470403a1ef1f4c261c0f1e8cf6b022 /extra/fyre
parente17d7021b82d5a27e1a236d14dd7a8567669e273 (diff)
parentfe6dc99352fe2b801d251e55b2b8baa71441908e (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: extra/fyre/PKGBUILD extra/gnet/PKGBUILD extra/kdeedu/PKGBUILD extra/mhash/PKGBUILD extra/rxvt-unicode/PKGBUILD
Diffstat (limited to 'extra/fyre')
-rw-r--r--extra/fyre/PKGBUILD28
-rw-r--r--extra/fyre/fyre.install10
2 files changed, 20 insertions, 18 deletions
diff --git a/extra/fyre/PKGBUILD b/extra/fyre/PKGBUILD
index c838a74e9..c9bd6dbaf 100644
--- a/extra/fyre/PKGBUILD
+++ b/extra/fyre/PKGBUILD
@@ -1,26 +1,26 @@
-# $Id: PKGBUILD 18314 2008-11-04 04:33:02Z eric $
-# Maintainer: Eric Belanger <eric@archlinux.org>
-# Contributor: damir <damir@archlinux.org>
+# $Id: PKGBUILD 122717 2011-05-06 07:59:29Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=fyre
pkgver=1.0.1
-pkgrel=3
+pkgrel=4
pkgdesc="Rendering of the Peter de Jong map"
arch=("i686" "x86_64" 'mips64el')
url="http://fyre.navi.cx/"
license=('GPL')
-depends=('openexr>=1.6' 'libglade' 'gnet' 'shared-mime-info')
-install=${pkgname}.install
+depends=('openexr' 'libglade' 'gnet' 'shared-mime-info' 'hicolor-icon-theme' 'desktop-file-utils')
+install=fyre.install
source=(http://flapjack.navi.cx/releases/fyre/fyre-${pkgver}.tar.gz)
md5sums=('44d5830c527325c1ee6fa6ea92b4ba03')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr || return 1
- make || return 1
- make prefix=${pkgdir}/usr install || return 1
- rm ${pkgdir}/usr/share/mime/{XMLnamespaces,globs,magic,aliases,subclasses} || return 1
- rm ${pkgdir}/usr/share/mime/{generic-icons,globs2,icons,treemagic,types} || return 1
- rm ${pkgdir}/usr/share/mime/mime.cache || return 1
- rm ${pkgdir}/usr/share/icons/hicolor/icon-theme.cache || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make update_xdgmime=/bin/false update_fdodesktop=/bin/false gtk_update_icon_cache=/bin/false \
+ prefix="${pkgdir}/usr" install
}
diff --git a/extra/fyre/fyre.install b/extra/fyre/fyre.install
index 0f4a73633..388efbb11 100644
--- a/extra/fyre/fyre.install
+++ b/extra/fyre/fyre.install
@@ -1,11 +1,13 @@
post_install() {
- usr/bin/update-mime-database /usr/share/mime > /dev/null 2>&1
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-mime-database usr/share/mime &> /dev/null
+ update-desktop-database -q
}
post_upgrade() {
- usr/bin/update-mime-database /usr/share/mime > /dev/null 2>&1
+ post_install
}
-pre_remove() {
- usr/bin/update-mime-database /usr/share/mime > /dev/null 2>&1
+post_remove() {
+ post_install
}