summaryrefslogtreecommitdiff
path: root/extra/fbida/PKGBUILD
blob: 0b137fe90a359502df7bca2c6e36706450909a23 (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 184373 2013-05-06 19:37:00Z foutrelis $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=fbida
pkgver=2.09
pkgrel=2
pkgdesc="Few applications to display and elementary edit images: fbi, fbgs, ida, exiftran"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.kraxel.org/blog/linux/fbida/"
license=('GPL2')
depends=('giflib' 'libtiff' 'libexif' 'lesstif' 'libpng' 'fontconfig' 'curl')
makedepends=('libxpm')
optdepends=('ghostscript: to use fbgs')
source=(http://www.kraxel.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc})
sha1sums=('5838b2cb7188481fece6159fccb3b121acd906e7'
          '18f5660301201326bd9426ce55e9fc217bf720d8')

prepare() {
  cd ${pkgname}-${pkgver}
  sed -i 's/ungif/gif/' GNUmakefile
}

build() {
  cd ${pkgname}-${pkgver}
  make
}

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