blob: d434358351ecf7cc371af17f33d1794ab226b604 (
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
30
31
32
33
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=feh
pkgver=2.16.2
pkgrel=0
pkgdesc="feh is a fast, lightweight image viewer which uses imlib2"
url="http://feh.finalrewind.org/"
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://feh.finalrewind.org/${pkgname}-${pkgver}.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
make PREFIX=/usr || return 1
}
package() {
cd "$_builddir"
make PREFIX=/usr DESTDIR="$pkgdir" \
bin_dir="$pkgdir"/usr/bin \
man_dir="$pkgdir"/usr/share/man \
doc_dir="$pkgdir"/usr/share/doc/$pkgname \
example_dir="$pkgdir"/usr/share/doc/$pkgname/examples \
install || return 1
}
md5sums="20695ee5c9581e22fef528b9d66511a6 feh-2.16.2.tar.bz2"
sha256sums="aa37124ae010e7dac7d101d5c66f3d49da79e96c7ce21d77bfe3c9322ed2e7ca feh-2.16.2.tar.bz2"
sha512sums="e288a0a5abe12c6e124b351a4d723845f8d7041fc87be15fb95266d00e35b319bf7a57073383157d4634f00bc974264d0622fac8166c97348a8bc1d563c16807 feh-2.16.2.tar.bz2"
|