diff --git a/srcpkgs/kickshaw/files/kickshaw.desktop b/srcpkgs/kickshaw/files/kickshaw.desktop index ae24e43c79..a9f6065838 100644 --- a/srcpkgs/kickshaw/files/kickshaw.desktop +++ b/srcpkgs/kickshaw/files/kickshaw.desktop @@ -1,5 +1,5 @@ [Desktop Entry] -Version=0.6.1 +Version=@version@ Name=Kickshaw Comment=Openbox menu editor based on Gtk3 Exec=/usr/bin/kickshaw diff --git a/srcpkgs/kickshaw/template b/srcpkgs/kickshaw/template index bdc69e0581..4ffd90b087 100644 --- a/srcpkgs/kickshaw/template +++ b/srcpkgs/kickshaw/template @@ -1,7 +1,7 @@ # Template file for 'kickshaw' pkgname=kickshaw version=1.0.31 -revision=1 +revision=2 build_style=gnu-makefile wrksrc="${pkgname}_${version}_GTK3_source_only" build_wrksrc="source" @@ -21,6 +21,8 @@ pre_build() { do_install() { vbin kickshaw - vinstall ${FILESDIR}/kickshaw.desktop 644 usr/share/applications + vmkdir usr/share/applications + sed ${FILESDIR}/kickshaw.desktop -e "s;@version@;$version;" \ + > ${DESTDIR}/usr/share/applications/kickshaw.desktop vdoc ../README }