mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 01:42:56 +02:00
sxiv: add .application to /usr/share/applications
This commit is contained in:
parent
e91cc01723
commit
6a7745aa9a
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue