mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
kickshaw: patch kickshaw.desktop with $version
This commit is contained in:
parent
da3782d673
commit
cb26e80c2d
2 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Version=0.6.1
|
Version=@version@
|
||||||
Name=Kickshaw
|
Name=Kickshaw
|
||||||
Comment=Openbox menu editor based on Gtk3
|
Comment=Openbox menu editor based on Gtk3
|
||||||
Exec=/usr/bin/kickshaw
|
Exec=/usr/bin/kickshaw
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'kickshaw'
|
# Template file for 'kickshaw'
|
||||||
pkgname=kickshaw
|
pkgname=kickshaw
|
||||||
version=1.0.31
|
version=1.0.31
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
wrksrc="${pkgname}_${version}_GTK3_source_only"
|
wrksrc="${pkgname}_${version}_GTK3_source_only"
|
||||||
build_wrksrc="source"
|
build_wrksrc="source"
|
||||||
|
@ -21,6 +21,8 @@ pre_build() {
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin kickshaw
|
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
|
vdoc ../README
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue