blob: c12018fea4745c57bea2223bb27bd9fc09d0e640 (
plain) (
tree)
|
|
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=feh
pkgver=2.27.1
pkgrel=0
pkgdesc="feh is a fast, lightweight image viewer which uses imlib2"
url="https://feh.finalrewind.org/"
arch="all"
license="MIT-feh"
depends=""
makedepends="curl-dev giblib-dev imlib2-dev libexif-dev libjpeg-turbo-dev
libpng-dev libxinerama-dev libxt-dev"
checkdepends="perl-test-command"
subpackages="$pkgname-doc"
source="https://feh.finalrewind.org/$pkgname-$pkgver.tar.bz2"
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="271aa2fd5f0bdd646b46ca746ef38b0a427a64981b0f1ebaf28a258448a9082ecff0b2d0fce215b4a94765ff4299d0d3bdbb97bca284d4ef6a80ebd7a4ee4be1 feh-2.27.1.tar.bz2"
|