# Maintainer: Eivind Uggedal pkgname=sxiv pkgver=1.2 pkgrel=0 pkgdesc="Simple X Image Viewer" url="https://github.com/muennich/sxiv" arch="all" license="GPL2" depends="" depends_dev="" makedepends="imlib2-dev giflib-dev" install="" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" _builddir="$srcdir/$pkgname-$pkgver" prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" make } package() { cd "$_builddir" make PREFIX="$pkgdir"/usr install } md5sums="9b79d3c70693d9abbc66295cf6f281a0 sxiv-1.2.tar.gz" sha256sums="ac76b69e4889137f2ce531ec4dc5ce9c4916bc575a30d351ebc7b0a684ef8cf3 sxiv-1.2.tar.gz" sha512sums="6058a8f89c540083549d91fe469f8f9d1a4acf60a19dc1d7115b7fe9a807143c9f8c0e8320e7695f7b6afe8d9ae040e9daaa09a976219228afb929133c8a6957 sxiv-1.2.tar.gz"