summaryrefslogtreecommitdiff
path: root/extra/geeqie/PKGBUILD
blob: 8b1d21b945483fc6630062ee9df33b0f694c2c02 (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
# $Id: PKGBUILD 204754 2014-01-26 12:15:58Z andyrtr $
# Maintainer: Eric Bélanger <eric@archlinux.org>
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>

pkgname=geeqie
pkgver=1.1
pkgrel=3
pkgdesc="A lightweight image browser and viewer"
arch=('i686' 'x86_64')
url="http://geeqie.sourceforge.net/"
license=('GPL2')
depends=('exiv2' 'gtk2' 'lcms' 'desktop-file-utils')
makedepends=('intltool' 'doxygen' 'gnome-doc-utils')
optdepends=('librsvg: SVG rendering')
install=geeqie.install
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz 
        geeqie-fix-fullscreen.patch)
sha1sums=('77167479e91e03d9512535a146c5d2d77941257f'
          '57c8b058e6ec1fc2f691650b212acc5dafcd5891')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -p1 -i"${srcdir}/geeqie-fix-fullscreen.patch"
  CPPFLAGS="-D_FILE_OFFSET_BITS=64" ./configure --prefix=/usr
  make
}

package(){
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}