widelands: fix #3 by moving binary to /usr/bin
This commit is contained in:
parent
ba2988cbba
commit
5b088e0e57
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'widelands'
|
# Template file for 'widelands'
|
||||||
pkgname=widelands
|
pkgname=widelands
|
||||||
version=19
|
version=19
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc=${pkgname}-build${version}-src
|
wrksrc=${pkgname}-build${version}-src
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="
|
configure_args="
|
||||||
|
@ -31,6 +31,10 @@ pre_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
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
|
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue