atanks: 4.7 -> 5.2
This commit is contained in:
parent
148eb14e64
commit
c2131b3d0b
@ -213,6 +213,7 @@ drwxr-xr-x root/root usr/share/atanks/text/
|
||||
-rw-r--r-- root/root usr/share/atanks/text/Help.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/Help_ES.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/Help_fr.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/Help_it.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/Help_ru.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/Help_sk.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/gloat.pt_BR.txt
|
||||
@ -220,6 +221,7 @@ drwxr-xr-x root/root usr/share/atanks/text/
|
||||
-rw-r--r-- root/root usr/share/atanks/text/gloat_ES.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/gloat_de.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/gloat_fr.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/gloat_it.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/gloat_ru.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/gloat_sk.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/ingame.pt_BR.txt
|
||||
@ -227,6 +229,7 @@ drwxr-xr-x root/root usr/share/atanks/text/
|
||||
-rw-r--r-- root/root usr/share/atanks/text/ingame_ES.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/ingame_de.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/ingame_fr.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/ingame_it.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/ingame_ru.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/ingame_sk.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/instr.pt_BR.txt
|
||||
@ -234,6 +237,7 @@ drwxr-xr-x root/root usr/share/atanks/text/
|
||||
-rw-r--r-- root/root usr/share/atanks/text/instr_ES.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/instr_de.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/instr_fr.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/instr_it.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/instr_ru.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/instr_sk.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/kamikaze.pt_BR.txt
|
||||
@ -241,6 +245,7 @@ drwxr-xr-x root/root usr/share/atanks/text/
|
||||
-rw-r--r-- root/root usr/share/atanks/text/kamikaze_ES.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/kamikaze_de.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/kamikaze_fr.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/kamikaze_it.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/kamikaze_ru.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/kamikaze_sk.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/retaliation.pt_BR.txt
|
||||
@ -248,6 +253,7 @@ drwxr-xr-x root/root usr/share/atanks/text/
|
||||
-rw-r--r-- root/root usr/share/atanks/text/retaliation_ES.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/retaliation_de.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/retaliation_fr.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/retaliation_it.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/retaliation_ru.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/retaliation_sk.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/revenge.pt_BR.txt
|
||||
@ -255,6 +261,7 @@ drwxr-xr-x root/root usr/share/atanks/text/
|
||||
-rw-r--r-- root/root usr/share/atanks/text/revenge_ES.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/revenge_de.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/revenge_fr.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/revenge_it.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/revenge_ru.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/revenge_sk.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/suicide.pt_BR.txt
|
||||
@ -262,16 +269,19 @@ drwxr-xr-x root/root usr/share/atanks/text/
|
||||
-rw-r--r-- root/root usr/share/atanks/text/suicide_ES.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/suicide_de.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/suicide_fr.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/suicide_it.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/suicide_ru.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/suicide_sk.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/war_quotes.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/war_quotes_ES.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/war_quotes_it.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/war_quotes_ru.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/weapons.pt_BR.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/weapons.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/weapons_ES.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/weapons_de.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/weapons_fr.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/weapons_it.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/weapons_ru.txt
|
||||
-rw-r--r-- root/root usr/share/atanks/text/weapons_sk.txt
|
||||
drwxr-xr-x root/root usr/share/atanks/title/
|
||||
@ -280,5 +290,8 @@ drwxr-xr-x root/root usr/share/atanks/title/
|
||||
-rw-r--r-- root/root usr/share/atanks/title/2.bmp
|
||||
-rw-r--r-- root/root usr/share/atanks/title/3.bmp
|
||||
-rw-r--r-- root/root usr/share/atanks/unicode.dat
|
||||
drwxr-xr-x root/root usr/share/pixmaps/
|
||||
-rw-r--r-- root/root usr/share/pixmaps/atanks.png
|
||||
drwxr-xr-x root/root usr/share/icons/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/48x48/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/atanks.png
|
||||
|
@ -1,2 +1,2 @@
|
||||
cfc5b7b759edefbc2e2b502d7ce44291 atanks-4.7-install.patch
|
||||
3bc64c0f1ed0715f17a04a622645b2af atanks-4.7.tar.gz
|
||||
cf183ac353b9d0f700db8934331dfe2c atanks-5.2-install.patch
|
||||
05bedbb7b3f50831a30b47f7776c8c1a atanks-5.2.tar.gz
|
||||
|
@ -2,17 +2,17 @@
|
||||
# URL: http://atanks.sourceforge.net/
|
||||
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
||||
# Packager: Danny Rawlins, monster dot romster at gmail dot com
|
||||
# Depends on: allegro
|
||||
# Depends on: allegro4
|
||||
|
||||
name=atanks
|
||||
version=4.7
|
||||
version=5.2
|
||||
release=1
|
||||
source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version/$name-$version.tar.gz
|
||||
$name-4.7-install.patch)
|
||||
$name-5.2-install.patch)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
patch -p 1 -i $SRC/$name-4.7-install.patch
|
||||
patch -p 1 -i $SRC/$name-5.2-install.patch
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
}
|
||||
|
@ -1,87 +0,0 @@
|
||||
diff -pruN atanks-4.7.orig/Makefile atanks-4.7/Makefile
|
||||
--- atanks-4.7.orig/Makefile 2010-09-12 00:51:28.543309846 +0000
|
||||
+++ atanks-4.7/Makefile 2010-09-12 00:54:54.422586845 +0000
|
||||
@@ -3,44 +3,45 @@ PREFIX = /usr/
|
||||
|
||||
BINPREFIX = $(PREFIX)
|
||||
|
||||
-BINDIR = ${BINPREFIX}bin/
|
||||
-INSTALLDIR = ${PREFIX}share/games/atanks
|
||||
+BINDIR = ${DESTDIR}${BINPREFIX}bin/
|
||||
+INSTALLDIR = ${DESTDIR}${PREFIX}share/atanks
|
||||
|
||||
export VERSION
|
||||
export PREFIX
|
||||
export INSTALLDIR
|
||||
|
||||
FILENAME=atanks-${VERSION}
|
||||
-INSTALL=$(PREFIX)bin/install -c
|
||||
+INSTALL=$(PREFIX)bin/install
|
||||
DISTCOMMON=atanks/*.dat atanks/COPYING atanks/README atanks/TODO atanks/Changelog atanks/BUGS atanks/*.txt
|
||||
-INCOMMON=COPYING README TODO Changelog *.txt unicode.dat
|
||||
+INCOMMON=*.txt unicode.dat
|
||||
|
||||
all:
|
||||
FLAGS=-DLINUX $(MAKE) -C src
|
||||
|
||||
install:
|
||||
- mkdir -p ${BINDIR}
|
||||
- $(INSTALL) -g 0 -m 755 -o 0 atanks ${BINDIR}
|
||||
- mkdir -p ${INSTALLDIR}
|
||||
- mkdir -p ${INSTALLDIR}/button
|
||||
- mkdir -p ${INSTALLDIR}/misc
|
||||
- mkdir -p ${INSTALLDIR}/missile
|
||||
- mkdir -p ${INSTALLDIR}/sound
|
||||
- mkdir -p ${INSTALLDIR}/stock
|
||||
- mkdir -p ${INSTALLDIR}/tank
|
||||
- mkdir -p ${INSTALLDIR}/tankgun
|
||||
- mkdir -p ${INSTALLDIR}/title
|
||||
- mkdir -p ${INSTALLDIR}/text
|
||||
- $(INSTALL) -g 0 -m 644 -o 0 $(INCOMMON) ${INSTALLDIR}
|
||||
- $(INSTALL) -g 0 -m 644 -o 0 button/* ${INSTALLDIR}/button
|
||||
- $(INSTALL) -g 0 -m 644 -o 0 misc/* ${INSTALLDIR}/misc
|
||||
- $(INSTALL) -g 0 -m 644 -o 0 missile/* ${INSTALLDIR}/missile
|
||||
- $(INSTALL) -g 0 -m 644 -o 0 sound/* ${INSTALLDIR}/sound
|
||||
- $(INSTALL) -g 0 -m 644 -o 0 stock/* ${INSTALLDIR}/stock
|
||||
- $(INSTALL) -g 0 -m 644 -o 0 tank/* ${INSTALLDIR}/tank
|
||||
- $(INSTALL) -g 0 -m 644 -o 0 tankgun/* ${INSTALLDIR}/tankgun
|
||||
- $(INSTALL) -g 0 -m 644 -o 0 title/* ${INSTALLDIR}/title
|
||||
- $(INSTALL) -g 0 -m 644 -o 0 text/* ${INSTALLDIR}/text
|
||||
+ $(INSTALL) -m 0755 -D atanks ${BINDIR}/atanks
|
||||
+ $(INSTALL) -d ${INSTALLDIR}
|
||||
+ $(INSTALL) -d ${INSTALLDIR}/button
|
||||
+ $(INSTALL) -d ${INSTALLDIR}/misc
|
||||
+ $(INSTALL) -d ${INSTALLDIR}/missile
|
||||
+ $(INSTALL) -d ${INSTALLDIR}/sound
|
||||
+ $(INSTALL) -d ${INSTALLDIR}/stock
|
||||
+ $(INSTALL) -d ${INSTALLDIR}/tank
|
||||
+ $(INSTALL) -d ${INSTALLDIR}/tankgun
|
||||
+ $(INSTALL) -d ${INSTALLDIR}/title
|
||||
+ $(INSTALL) -d ${INSTALLDIR}/text
|
||||
+ $(INSTALL) -m 0644 $(INCOMMON) ${INSTALLDIR}
|
||||
+ $(INSTALL) -m 0644 button/* ${INSTALLDIR}/button
|
||||
+ $(INSTALL) -m 0644 misc/* ${INSTALLDIR}/misc
|
||||
+ $(INSTALL) -m 0644 missile/* ${INSTALLDIR}/missile
|
||||
+ $(INSTALL) -m 0644 sound/* ${INSTALLDIR}/sound
|
||||
+ $(INSTALL) -m 0644 stock/* ${INSTALLDIR}/stock
|
||||
+ $(INSTALL) -m 0644 tank/* ${INSTALLDIR}/tank
|
||||
+ $(INSTALL) -m 0644 tankgun/* ${INSTALLDIR}/tankgun
|
||||
+ $(INSTALL) -m 0644 title/* ${INSTALLDIR}/title
|
||||
+ $(INSTALL) -m 0644 text/* ${INSTALLDIR}/text
|
||||
+ $(INSTALL) -m 0644 -D atanks.desktop $(DESTDIR)/usr/share/applications/atanks.desktop
|
||||
+ $(INSTALL) -m 0644 -D atanks.png $(DESTDIR)/usr/share/pixmaps/atanks.png
|
||||
|
||||
user:
|
||||
INSTALLDIR=./ FLAGS=-DLINUX $(MAKE) -C src
|
||||
diff -pruN atanks-4.7.orig/src/Makefile atanks-4.7/src/Makefile
|
||||
--- atanks-4.7.orig/src/Makefile 2010-09-12 00:51:28.536309843 +0000
|
||||
+++ atanks-4.7/src/Makefile 2010-09-12 00:55:37.789651847 +0000
|
||||
@@ -17,7 +17,7 @@ OFLAGS =
|
||||
LFLAGS +=
|
||||
LDFLAGS = `allegro-config --libs`
|
||||
|
||||
-CFLAGS += -g -Wall -Iinclude # -fprofile-arcs -ftest-coverage
|
||||
+CFLAGS += -Wall -Iinclude # -fprofile-arcs -ftest-coverage
|
||||
|
||||
SRCS = $(MODULES:.o=.cpp)
|
||||
GLOBALS = main.h imagedefs.h externs.h
|
23
atanks/atanks-5.2-install.patch
Normal file
23
atanks/atanks-5.2-install.patch
Normal file
@ -0,0 +1,23 @@
|
||||
diff -pruN atanks-5.2.orig/Makefile atanks-5.2/Makefile
|
||||
--- atanks-5.2.orig/Makefile 2012-01-22 00:49:19.738203417 +0000
|
||||
+++ atanks-5.2/Makefile 2012-01-22 00:49:40.482203427 +0000
|
||||
@@ -4,16 +4,16 @@ DESTDIR ?=
|
||||
BINPREFIX = $(PREFIX)
|
||||
|
||||
BINDIR = ${BINPREFIX}bin/
|
||||
-INSTALLDIR = ${PREFIX}share/games/atanks
|
||||
+INSTALLDIR = ${PREFIX}share/atanks
|
||||
|
||||
export VERSION
|
||||
export PREFIX
|
||||
export INSTALLDIR
|
||||
|
||||
FILENAME=atanks-${VERSION}
|
||||
-INSTALL=$(PREFIX)bin/install -c
|
||||
+INSTALL=$(PREFIX)bin/install
|
||||
DISTCOMMON=atanks/*.dat atanks/COPYING atanks/README atanks/TODO atanks/Changelog atanks/BUGS atanks/*.txt
|
||||
-INCOMMON=COPYING README TODO Changelog *.txt unicode.dat
|
||||
+INCOMMON=*.txt unicode.dat
|
||||
|
||||
all:
|
||||
FLAGS=-DLINUX $(MAKE) -C src
|
Loading…
x
Reference in New Issue
Block a user