widelands: fix #3 by moving binary to /usr/bin

This commit is contained in:
Jürgen Buchmüller 2017-12-19 17:57:43 +01:00
parent ba2988cbba
commit 5b088e0e57
1 changed files with 5 additions and 1 deletions

View File

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