mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 19:02:57 +02:00
widelands: fix #3 by moving binary to /usr/bin
This commit is contained in:
parent
ba2988cbba
commit
5b088e0e57
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'widelands'
|
||||
pkgname=widelands
|
||||
version=19
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc=${pkgname}-build${version}-src
|
||||
build_style=cmake
|
||||
configure_args="
|
||||
|
@ -31,6 +31,10 @@ pre_configure() {
|
|||
}
|
||||
|
||||
post_install() {
|
||||
# For some reason the binary is installed as /usr/widelands - move it
|
||||
vmkdir usr/bin
|
||||
mv ${DESTDIR}/usr/${pkgname} ${DESTDIR}/usr/bin
|
||||
|
||||
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue