### this file is sourced not run
PKGVER=1.7
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=viewnior-$PKGVER.tar.gz
MD5SUM=b09587081077b50f9cc51bb4b0223ffe
SRC_URL=https://github.com/hellosiyan/Viewnior/archive/$TARBALL
BUNDLE=

SLACKREQ='gtk2 libexiv2'
SLACKDESC="viewnior: viewnior $PKGVER (Image viewer)  
viewnior:  
viewnior: Viewnior is a simple, fast and elegant image viewer. It supports 
viewnior: fullscreen and slideshow functions, as well as rotate, flip, crop, 
viewnior: save and delete images. It supports animation as well. Its 
viewnior: minimalistic interface provides more screenspace for your images.  
viewnior: 
viewnior: 
viewnior: 
viewnior: 
viewnior: 
"

### default pkg_download

pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/Viewnior* &&
	patch -Np1 -i ../pkg/viewnior_rox_wallpaper.patch
}

### default pkg_package
### build
pkg_build() {
	pkg_build_meson && pkg_build_slackdesc &&
	rm -f /usr/share/icons/hicolor/icon-theme.cache
}


