summaryrefslogtreecommitdiff
path: root/community/fbv/PKGBUILD
blob: 9c86079cad5329824e212d64c32fc524f22ba01c (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
# $Id: PKGBUILD 11511 2010-02-12 23:37:12Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Aectann <aectann@infoline.su>

pkgname=fbv
pkgver=1.0b
pkgrel=4
pkgdesc="FrameBuffer image viewer"
arch=('i686' 'x86_64' 'mips64el')
url="http://s-tech.elsat.net.pl/fbv/"
license=('GPL')
depends=('libpng' 'libungif' 'libjpeg')
source=(http://s-tech.elsat.net.pl/fbv/$pkgname-$pkgver.tar.gz)
md5sums=('3e466375b930ec22be44f1041e77b55d')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --mandir=/usr/share/man
  sed -i 's|LIBS.*|LIBS=-lpng -ljpeg -lungif -lgif|' Make.conf
  make || return 1
  mkdir -p $pkgdir/usr/bin
  mkdir -p $pkgdir/usr/share/man/man1
  make DESTDIR=$pkgdir install
}