warsow: install in usr/lib/warsow
This commit is contained in:
parent
2c2852a7bd
commit
4bc57febda
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd /usr/share/warsow
|
||||
cd /usr/lib/warsow
|
||||
./warsow $*
|
||||
exit $?
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd /usr/share/warsow
|
||||
cd /usr/lib/warsow
|
||||
./wsw_server $*
|
||||
exit $?
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd /usr/share/warsow
|
||||
cd /usr/lib/warsow
|
||||
./wswtv_server $*
|
||||
exit $?
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'warsow'
|
||||
pkgname=warsow
|
||||
version=2.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
configure_args="-DQFUSION_GAME=Warsow"
|
||||
wrksrc="warsow_${version/./}_sdk"
|
||||
|
@ -23,18 +23,18 @@ archs="i686* x86_64*"
|
|||
|
||||
do_install() {
|
||||
# Move Compiled Data to Destination Directory
|
||||
vmkdir usr/share/warsow
|
||||
vmkdir usr/lib/warsow
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*) _arch=x86_64 ;;
|
||||
i686*) _arch=i686 ;;
|
||||
esac
|
||||
|
||||
vinstall "build/warsow.$_arch" 0755 /usr/share/warsow warsow
|
||||
vinstall "build/wsw_server.$_arch" 0755 /usr/share/warsow wsw_server
|
||||
vinstall "build/wswtv_server.$_arch" 0755 /usr/share/warsow wswtv_server
|
||||
vcopy "build/basewsw" usr/share/warsow
|
||||
vcopy "build/libs" usr/share/warsow
|
||||
vinstall "build/warsow.$_arch" 0755 /usr/lib/warsow warsow
|
||||
vinstall "build/wsw_server.$_arch" 0755 /usr/lib/warsow wsw_server
|
||||
vinstall "build/wswtv_server.$_arch" 0755 /usr/lib/warsow wswtv_server
|
||||
vcopy "build/basewsw" usr/lib/warsow
|
||||
vcopy "build/libs" usr/lib/warsow
|
||||
|
||||
vbin ${FILESDIR}/warsow.launcher warsow
|
||||
vbin ${FILESDIR}/wsw-server.launcher wsw-server
|
||||
|
|
Loading…
Reference in New Issue