summaryrefslogtreecommitdiff
path: root/community/gimmage/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gimmage/PKGBUILD')
-rw-r--r--community/gimmage/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/gimmage/PKGBUILD b/community/gimmage/PKGBUILD
new file mode 100644
index 000000000..36b32322a
--- /dev/null
+++ b/community/gimmage/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 61575 2012-01-03 14:29:37Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Roman Kyrylych <roman@archlinux.org>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+pkgname=gimmage
+pkgver=0.2.3
+pkgrel=4
+pkgdesc="A gtkmm image viewer"
+arch=('i686' 'x86_64')
+url="http://gimmage.berlios.de"
+license=('GPL')
+depends=('gtkmm' 'curl' 'file')
+makedepends=('pkgconfig')
+changelog=ChangeLog
+source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('f51cca53b3d33415e75a91cf81b6ac39')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ rm gimmage.desktop
+ sed -i 's|Exec=@prefix@/bin/gimmage|Exec=@prefix@/bin/gimmage %U|' gimmage.desktop.in
+ ./configure --prefix=/usr
+ sed -i '1,1i#include <string.h>' src/FileManager.cpp
+ make
+ make DESTDIR=$pkgdir install
+}