From 6a7745aa9a28532174964509e2b069050a9fd3b8 Mon Sep 17 00:00:00 2001 From: xaltsc <41400742+xaltsc@users.noreply.github.com> Date: Fri, 5 Apr 2019 22:47:33 +0200 Subject: [PATCH] sxiv: add .application to /usr/share/applications --- srcpkgs/sxiv/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"