diff options
Diffstat (limited to 'games/triplea/triplea.SlackBuild')
-rw-r--r-- | games/triplea/triplea.SlackBuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/games/triplea/triplea.SlackBuild b/games/triplea/triplea.SlackBuild index 57caecae6b86..17823fc3350f 100644 --- a/games/triplea/triplea.SlackBuild +++ b/games/triplea/triplea.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=triplea -SRCVER=${SRCVER:-1_8_0_3_all_platforms} +SRCVER=${SRCVER:-1_8_0_4_all_platforms} VERSION=$(echo $SRCVER | tr _ . | cut -c1-7) SRCDIR=$(echo $SRCVER | cut -c1-7) BUILD=${BUILD:-1} @@ -75,15 +75,12 @@ find -L . \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $PKG/usr/bin \ - $PKG/usr/share/games/$PRGNAM -cp -a assets \ - bin \ - dice_servers \ - icons \ - maps \ - old \ - $PKG/usr/share/games/$PRGNAM +mkdir -p $PKG/usr/bin $PKG/usr/share/games/$PRGNAM +DATA="assets bin dice_servers icons maps old" +for item in $DATA; do + cp -rf $item $PKG/usr/share/games/$PRGNAM +done + install -D -m0755 triplea_unix.sh $PKG/usr/share/games/$PRGNAM/triplea_unix.sh install -D -m0755 $CWD/triplea $PKG/usr/bin |