sxiv: add .application to /usr/share/applications
This commit is contained in:
parent
e91cc01723
commit
6a7745aa9a
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user