forked from ports/contrib
wesnoth: 1.8.6 -> 1.10.1
This commit is contained in:
parent
3813f0764d
commit
ce7f8cf6d2
6086
wesnoth/.footprint
6086
wesnoth/.footprint
File diff suppressed because it is too large
Load Diff
@ -1 +1 @@
|
||||
f1c3179869b01b61e253e74aeb241034 wesnoth-1.8.6.tar.bz2
|
||||
a2ac2d629d4e3e5fc7e7e48f935d9960 wesnoth-1.10.1.tar.bz2
|
||||
|
@ -5,7 +5,7 @@
|
||||
# Depends on: boost cmake pango sdl_image sdl_mixer sdl_net sdl_ttf lua
|
||||
|
||||
name=wesnoth
|
||||
version=1.8.6
|
||||
version=1.10.1
|
||||
release=1
|
||||
source=(http://downloads.sourceforge.net/project/$name/$name-${version%.*}/$name-$version/$name-$version.tar.bz2)
|
||||
|
||||
@ -17,6 +17,7 @@ build() {
|
||||
|
||||
cmake ../ \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DMANDIR=/usr/man \
|
||||
-DENABLE_NLS=FALSE \
|
||||
-DENABLE_DESKTOP_ENTRY=TRUE \
|
||||
-DENABLE_CAMPAIGN_SERVER=FALSE \
|
||||
@ -25,11 +26,12 @@ build() {
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
find $PKG/usr/share/wesnoth -type f \( \
|
||||
-name 'README' -o \
|
||||
-name 'COPYING.txt' -o \
|
||||
-name 'COPYING' \
|
||||
\) -exec rm {} +
|
||||
# wont run if you reamove README and COPYING
|
||||
# find $PKG/usr/share/wesnoth -type f \( \
|
||||
# -name 'README' -o \
|
||||
# -name 'COPYING.txt' -o \
|
||||
# -name 'COPYING' \
|
||||
# \) -exec rm {} +
|
||||
|
||||
find $PKG -type d -exec chmod -c go-w {} +
|
||||
rm -r $PKG/usr/share/doc
|
||||
|
Loading…
x
Reference in New Issue
Block a user