blob: ab36b772bd7cfc253bd7f1f4a02db04afaae7302 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=feh
pkgver=2.9.3
pkgrel=0
pkgdesc="feh is a fast, lightweight image viewer which uses imlib2"
url="http://www.linuxbrit.co.uk/feh/"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends="libxt-dev libpng-dev giblib-dev imlib2-dev libjpeg-turbo-dev
libxinerama-dev curl-dev"
source="https://derf.homelinux.org/~derf/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
sed -i -e "s:/usr/local:/usr:g" config.mk
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR=$pkgdir docsdir=/usr/share/doc/feh install || return 1
install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
md5sums="7c6ecdc36eaf9f14a13f8cf35988da45 feh-2.9.3.tar.bz2"
sha256sums="b4e8d603033af12afa77ae8020bcf4ff51c6950b9a6880a0fe32b04fdf7290f2 feh-2.9.3.tar.bz2"
sha512sums="9a0194d43037b1f1b1bd19dc4a9a1c6073504622283c466de1d1952798f37db21b5f2f61c14eeb732c49cc22707a5b47c7009fdaec6141eb3e1b936e2b7b038d feh-2.9.3.tar.bz2"
|