# Description: Simple X image viewer.
# URL: URL: https://github.com/muennich/sxiv
# NuTyX package info file (http://nutyx.org)
# Packager: # NuTyX package info file (http://nutyx.org)
# Depends on: desktop-file-utils hicolor-icon-theme imlib2 
name=sxiv
version=1.2
release=1

source=(
https://github.com/muennich/sxiv/archive/v$version.tar.gz
sxiv.giflib.patch)

build(){
    cd $name-$version
    patch -p1 -i ../sxiv.giflib.patch
    make
    make PREFIX=/usr DESTDIR=$PKG install
    make -C icon PREFIX=/usr DESTDIR=$PKG install
    install -Dm644 sxiv.desktop \
        $PKG/usr/share/applications/sxiv.desktop
}



# NuTyX Pkgfile (http://nutyx.org)
