blob: bb3b1d27618f4a1e4526c069a490816cbf9f47ed (
plain) (
tree)
|
|
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=feh
pkgver=2.26.3
pkgrel=0
pkgdesc="feh is a fast, lightweight image viewer which uses imlib2"
url="http://feh.finalrewind.org/"
arch="all"
license="MIT-feh"
subpackages="$pkgname-doc"
depends=
makedepends="libxt-dev libpng-dev giblib-dev imlib2-dev libjpeg-turbo-dev
libxinerama-dev curl-dev libexif-dev"
checkdepends="perl-utils perl-test-command"
source="https://feh.finalrewind.org/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
make PREFIX=/usr curl=1 exif=1 xinerama=1
}
check() {
cd "$builddir"
make PREFIX=/usr test
}
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
}
sha512sums="b7212e99d4210b71c1d84e6712b7cac18a65367ebf9a17d889412dddb66aefd2c3f0bf0b624b09f3b46aa007cd27ac1bd2e4a7c4757e8bc90d49d2a435baaf06 feh-2.26.3.tar.bz2"
|