blob: 523813225461bb7b2da27a9225140f6d5e4a5e04 (
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.10
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="6714dedeff1db5c3593c4a27b0d9cf50 feh-2.10.tar.bz2"
sha256sums="bc782a884eedd7a73284804d8145238f140fa59fed8d483102d1d25e8144ca83 feh-2.10.tar.bz2"
sha512sums="e9d3449f01622add6c07fe6baff65245c45ff05b001b4a12a08e0c1c0610bed2acb5f95d340e3c09bdb399ad088aa0e580cba92ef8557cc96b7ccd49d5d916b6 feh-2.10.tar.bz2"
|