kickshaw: patch kickshaw.desktop with $version

This commit is contained in:
Jürgen Buchmüller 2020-07-26 20:58:30 +02:00
parent da3782d673
commit cb26e80c2d
2 changed files with 5 additions and 3 deletions

View file

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

View file

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