summaryrefslogtreecommitdiffstats
path: root/main/feh/APKBUILD
blob: a609b8d994686132b3aacfc2fa17b8d0f114afab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=feh
pkgver=1.3.4
pkgrel=0
pkgdesc="feh is a fast, lightweight image viewer which uses imlib2"
url="http://www.linuxbrit.co.uk/feh/"
license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends="libxt-dev libpng-dev giblib-dev imlib2-dev jpeg-dev"
source="http://linuxbrit.co.uk/downloads/$pkgname-$pkgver.tar.gz"

build () 
{ 
	cd $srcdir/$pkgname-$pkgver
	./configure --prefix=/usr \
		--mandir=/usr/share/man || return 1
	make || return 1
	make DESTDIR=$pkgdir docsdir=/usr/share/doc/feh install || return 1
	install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
md5sums="3d35ba3d2f0693b019800787f1103891  feh-1.3.4.tar.gz"