forked from ports/contrib
warzone2100: 2.0.5 -> 2.0.8_rc1 and taken over maintainership
This commit is contained in:
parent
4afa2b6410
commit
ad596198ac
@ -1 +1 @@
|
||||
56e83a64d5b7aa60ced3d7ac7281bb42 warzone2100-2.0.5.tar.bz2
|
||||
5633f8b4a859d2acde7894ea88dc829c warzone2100-2.0.8_rc1.tar.bz2
|
||||
|
@ -1,12 +1,14 @@
|
||||
# Description: A real-time strategy game
|
||||
# URL: http://wz2100.net/
|
||||
# Maintainer: Mark Rosenstand, mark at borkware dot net
|
||||
# Depends on: libjpeg, libmad, libpng, libvorbis, mesa3d, openal, physfs, sdl_net
|
||||
# Description: A real-time strategy game.
|
||||
# URL: http://wz2100.net/
|
||||
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
||||
# Packager: Mark Rosenstand, mark at borkware dot net
|
||||
# Depends on: libjpeg libmad libpng libvorbis mesa3d openal physfs sdl_net smpeg zip
|
||||
# Optional: upx
|
||||
|
||||
name=warzone2100
|
||||
version=2.0.5
|
||||
version=2.0.8_rc1
|
||||
release=1
|
||||
source=(http://download.gna.org/warzone/releases/2.0/warzone2100-$version.tar.bz2)
|
||||
source=(http://download.gna.org/warzone/releases/${version%*.}/warzone2100-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd warzone2100-$version
|
||||
@ -14,4 +16,14 @@ build() {
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
rm -r $PKG/usr/share/doc
|
||||
|
||||
# compress binary files if upx is installed to save disk space
|
||||
if pkginfo -i |grep '^upx ' > /dev/null; then
|
||||
(
|
||||
cd $PKG/usr/bin
|
||||
upx -9 warzone2100
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user