summaryrefslogtreecommitdiff
path: root/staging/fyre
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-20 01:22:20 -0700
committerroot <root@rshg054.dnsready.net>2012-10-20 01:22:20 -0700
commit9598f5141ea75ffa72a3c7c85639c6f296020ef1 (patch)
tree36488f90eaa723f707c26f79ba771bb2910e8368 /staging/fyre
parentdcc55a1cfa32068d0759c1c8307f6c07c11aec99 (diff)
Sat Oct 20 01:22:19 PDT 2012
Diffstat (limited to 'staging/fyre')
-rw-r--r--staging/fyre/PKGBUILD26
-rw-r--r--staging/fyre/fyre.install13
2 files changed, 39 insertions, 0 deletions
diff --git a/staging/fyre/PKGBUILD b/staging/fyre/PKGBUILD
new file mode 100644
index 000000000..db81bc725
--- /dev/null
+++ b/staging/fyre/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 169349 2012-10-20 00:55:07Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+
+pkgname=fyre
+pkgver=1.0.1
+pkgrel=6
+pkgdesc="Rendering of the Peter de Jong map"
+arch=('i686' 'x86_64')
+url="http://fyre.navi.cx/"
+license=('GPL')
+depends=('openexr' 'libglade' 'gnet' 'shared-mime-info' 'hicolor-icon-theme' 'desktop-file-utils')
+install=fyre.install
+source=(http://releases.navi.cx/fyre/fyre-${pkgver}.tar.bz2)
+sha1sums=('41c0ec45eff16cc1bba081c5c855a3980e404835')
+
+build() {
+ 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/staging/fyre/fyre.install b/staging/fyre/fyre.install
new file mode 100644
index 000000000..388efbb11
--- /dev/null
+++ b/staging/fyre/fyre.install
@@ -0,0 +1,13 @@
+post_install() {
+ 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() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}