summaryrefslogtreecommitdiff
path: root/testing/geeqie
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-04 00:02:16 +0000
committerroot <root@rshg054.dnsready.net>2012-08-04 00:02:16 +0000
commitf8ac5d4703080cc87ba2fe36f68df745d3a5f62f (patch)
tree641ccb335800a868031ab1d89d554e5c1b0f0d9a /testing/geeqie
parent60f7eab28ba0dd57c8ce519609f393dd3931b621 (diff)
Sat Aug 4 00:02:16 UTC 2012
Diffstat (limited to 'testing/geeqie')
-rw-r--r--testing/geeqie/PKGBUILD29
-rw-r--r--testing/geeqie/geeqie.install11
2 files changed, 40 insertions, 0 deletions
diff --git a/testing/geeqie/PKGBUILD b/testing/geeqie/PKGBUILD
new file mode 100644
index 000000000..bb9a07057
--- /dev/null
+++ b/testing/geeqie/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 164675 2012-08-02 15:21:18Z andrea $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+
+pkgname=geeqie
+pkgver=1.0
+pkgrel=7
+pkgdesc="A lightweight image browser and viewer (fork of GQview)"
+arch=('i686' 'x86_64')
+url="http://geeqie.sourceforge.net/"
+license=('GPL3')
+depends=('exiv2' 'gtk2' 'lcms' 'desktop-file-utils')
+makedepends=('intltool' 'doxygen' 'gnome-doc-utils')
+optdepends=('librsvg: SVG rendering')
+replaces=('gqview-devel')
+install=geeqie.install
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('8494a557d67d20e6ad720645ec789dd2b33a3266')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ CPPFLAGS="-D_FILE_OFFSET_BITS=64" ./configure --prefix=/usr
+ make
+}
+
+package(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/testing/geeqie/geeqie.install b/testing/geeqie/geeqie.install
new file mode 100644
index 000000000..2eaa60550
--- /dev/null
+++ b/testing/geeqie/geeqie.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}