sxiv: add .application to /usr/share/applications

This commit is contained in:
xaltsc 2019-04-05 22:47:33 +02:00 committed by maxice8
parent e91cc01723
commit 6a7745aa9a

View File

@ -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"