From 5b088e0e5766a0bc60e8f8e074a020e49d32c82b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 19 Dec 2017 17:57:43 +0100 Subject: [PATCH] widelands: fix #3 by moving binary to /usr/bin --- srcpkgs/widelands/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/widelands/template b/srcpkgs/widelands/template index 616e8bcaff4..84fb03c2bc5 100644 --- a/srcpkgs/widelands/template +++ b/srcpkgs/widelands/template @@ -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 }