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