diff --git a/srcpkgs/sxiv/template b/srcpkgs/sxiv/template index 21c7a79fa84..b33220732c9 100644 --- a/srcpkgs/sxiv/template +++ b/srcpkgs/sxiv/template @@ -1,7 +1,7 @@ # Template file for 'sxiv' pkgname=sxiv version=25 -revision=1 +revision=2 build_style=gnu-makefile makedepends="libX11-devel imlib2-devel giflib-devel libexif-devel libXft-devel" short_desc="Simple X Image Viewer" @@ -15,6 +15,10 @@ pre_build() { [ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h ||: } +post_install() { + vinstall sxiv.desktop 644 usr/share/applications +} + if [ "$CROSS_BUILD" ]; then # otherwise ft2build.h is not found hostmakedepends+=" freetype-devel"