summaryrefslogtreecommitdiff
path: root/community/gtkimageview/PKGBUILD
blob: 5ccaf30a99e0d486ede91bfd01ce09cf487b08ff (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
# $Id: PKGBUILD 103868 2014-01-12 20:31:29Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jan Blazek <appolito@gmail.com>
# Contributor: Jose Valecillos <valecillosjg (at) gmail (dot) com>

pkgname=gtkimageview
pkgver=1.6.4
pkgrel=4
pkgdesc="Simple image viewer widget for GTK2"
arch=('i686' 'x86_64' 'mips64el')
url="https://github.com/GNOME/gtkimageview"
license=('LGPL2.1')
depends=('gtk2')
makedepends=('pkg-config')
source=("ftp://ftp.archlinux.org/other/packages/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('501367b3f50e69a12208dc9c6ad00b18')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr \
              --disable-static

  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install

  rm -rf "${pkgdir}/usr/share"
}