# Tanım: Basit X resim görüntüleyici.
# URL: https://github.com/muennich/sxiv
# Paketçi: milisarge
# Gerekler: desktop-file-utils hicolor-icon-theme imlib2 

isim=sxiv
surum=1.2
devir=1

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

derle(){
    cd $isim-$surum
    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
}
