summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9c82ba094debe31e9bb93c1f514aac5c550ec44a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
}