blob: aa99794d12de19fc3273bada086ff25c619a0090 (
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.13.1
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="18a70487dddf43682d4acc896bfed0d3 feh-2.13.1.tar.bz2"
sha256sums="865088d0481f6862d79d7c08d7b6cf1d25058a74a5784e511a1422fea8aba980 feh-2.13.1.tar.bz2"
sha512sums="60f2d691c24495fc126f868d3a4b3e43c7a41d0a3ff9ecfcec66a26b62012ef68bbbab897398c1d054d8eaa747baa180c8a41ed77e750071fde4e57a058b179b feh-2.13.1.tar.bz2"
|