summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9c82ba094de
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Steven Honeyman <stevenhoneyman at gmail com>
+
+pkgname=geeqie-git
+pkgver=20140526
+pkgrel=1
+pkgdesc="A lightweight image browser and viewer (fork of GQview)"
+url="http://geeqie.sourceforge.net/"
+license=('GPL3')
+arch=('i686' 'x86_64')
+depends=('gtk3' 'exiv2' 'lcms2')
+optdepends=('lirc: remote control support'
+ 'lua: uses it somehow if detected'
+ 'doxygen: waste some hdd space on documentation')
+makedepends=('git' 'intltool')
+provides=('geeqie')
+conflicts=('geeqie' 'gqview-devel')
+source=("git://gitorious.org/geeqie/geeqie.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/geeqie"
+ git log -1 --format="%cd" --date=short | sed 's|-||g'
+}
+
+build() {
+ cd "$srcdir/geeqie"
+
+ ## This might be needed on i686 or for a different gcc release
+ ## Uncomment if required
+ #CPPFLAGS="${CPPFLAGS} -D_FILE_OFFSET_BITS=64"
+
+ ./autogen.sh --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-maintainer-mode \
+ --disable-debug-log
+ make
+}
+
+package() {
+ cd "$srcdir/geeqie"
+ make DESTDIR="$pkgdir" install
+}