summaryrefslogtreecommitdiff
path: root/extra/geeqie/PKGBUILD
blob: 68f9e1ccc688b6d93f48bf4925ec715e11a2e174 (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 168110 2012-10-06 01:00:22Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>

pkgname=geeqie
pkgver=1.1
pkgrel=2
pkgdesc="A lightweight image browser and viewer"
arch=('i686' 'x86_64' 'mips64el')
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
}