Merge pull request #2231 from diogoleal/boswars
New package: boswars-2.7
This commit is contained in:
commit
4ead76453b
4 changed files with 49 additions and 0 deletions
2
srcpkgs/boswars/files/boswars
Normal file
2
srcpkgs/boswars/files/boswars
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec /usr/share/boswars/boswars -d /usr/share/boswars ${1+"$@"}
|
13
srcpkgs/boswars/files/boswars.desktop
Normal file
13
srcpkgs/boswars/files/boswars.desktop
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Encoding=UTF-8
|
||||||
|
Name=Bos Wars
|
||||||
|
GenericName=Battle of Survival Wars
|
||||||
|
Comment=real-time strategy game
|
||||||
|
Exec=/usr/bin/boswars
|
||||||
|
Icon=boswars.png
|
||||||
|
StartupNotify=true
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Game;
|
||||||
|
|
BIN
srcpkgs/boswars/files/boswars.png
Normal file
BIN
srcpkgs/boswars/files/boswars.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 891 B |
34
srcpkgs/boswars/template
Normal file
34
srcpkgs/boswars/template
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# Template file for 'boswars'
|
||||||
|
pkgname=boswars
|
||||||
|
version=2.7
|
||||||
|
revision=1
|
||||||
|
wrksrc=${pkgname}-${version}-src/
|
||||||
|
hostmakedepends="SDL-devel pkg-config zlib-devel libpng-devel lua51-devel"
|
||||||
|
makedepends="lua51-devel libGL libpng-progs libtheora-devel libogg-devel libpng-devel libvorbis-devel MesaLib-devel libX11-devel SDL-devel"
|
||||||
|
short_desc="A futuristic real-time strategy game (RTS)"
|
||||||
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="http://boswars.org"
|
||||||
|
distfiles="http://www.boswars.org/dist/releases/boswars-${version}-src.tar.gz"
|
||||||
|
checksum=dc3718f531e9ea413cf37e1333b62a4c5e69f1405502d9c59b9e424635135e3e
|
||||||
|
nocross=yes
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
python make.py
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vmkdir usr/share/boswars
|
||||||
|
vcopy fbuild/release/boswars usr/share/boswars/
|
||||||
|
vcopy campaigns usr/share/boswars/
|
||||||
|
vcopy engine usr/share/boswars/
|
||||||
|
vcopy graphics usr/share/boswars/
|
||||||
|
vcopy intro usr/share/boswars/
|
||||||
|
vcopy languages usr/share/boswars/
|
||||||
|
vcopy maps usr/share/boswars/
|
||||||
|
vcopy scripts usr/share/boswars/
|
||||||
|
vcopy sounds usr/share/boswars/
|
||||||
|
vbin ${FILESDIR}/boswars
|
||||||
|
vinstall ${FILESDIR}/boswars.desktop 644 usr/share/applications/boswars.desktop
|
||||||
|
vinstall ${FILESDIR}/boswars.png 644 usr/share/pixmaps/boswars.png
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue