summaryrefslogtreecommitdiff
path: root/atanks
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2015-02-28 01:53:20 +1100
committerDanny Rawlins <monster.romster@gmail.com>2015-02-28 01:55:25 +1100
commit9c0909c6171838b43bf33803a8a58d06999f6ef3 (patch)
treef41f9db48416f57152254391c9f4351fd968fd9b /atanks
parent2c108e2132d5b72365bcb7d8fb7c302c31e8bf82 (diff)
downloadcontrib-9c0909c6171838b43bf33803a8a58d06999f6ef3.tar.gz
contrib-9c0909c6171838b43bf33803a8a58d06999f6ef3.tar.xz
atanks: 5.9 -> 6.1
Diffstat (limited to 'atanks')
-rw-r--r--atanks/.md5sum3
-rw-r--r--atanks/Pkgfile11
-rw-r--r--atanks/atanks-5.2-install.patch23
3 files changed, 8 insertions, 29 deletions
diff --git a/atanks/.md5sum b/atanks/.md5sum
index 9a6901198..7cd2856ab 100644
--- a/atanks/.md5sum
+++ b/atanks/.md5sum
@@ -1,2 +1 @@
-cf183ac353b9d0f700db8934331dfe2c atanks-5.2-install.patch
-76d92aba871d86b0752d3d01da2782b0 atanks-5.9.tar.gz
+4f836d3bde0e59fd588b3147ce332a3a atanks-6.1.tar.gz
diff --git a/atanks/Pkgfile b/atanks/Pkgfile
index 205880e30..f33163a04 100644
--- a/atanks/Pkgfile
+++ b/atanks/Pkgfile
@@ -5,14 +5,17 @@
# Depends on: allegro4
name=atanks
-version=5.9
+version=6.1
release=1
-source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version/$name-$version.tar.gz
- $name-5.2-install.patch)
+source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version/$name-$version.tar.gz)
build() {
cd $name-$version
- patch -p 1 -i $SRC/$name-5.2-install.patch
+
+ sed -i -e 's|share/games/atanks|share/atanks|' Makefile
+
make
make DESTDIR=$PKG install
+
+ rm $PKG/usr/share/atanks/{COPYING,Changelog,README,TODO}
}
diff --git a/atanks/atanks-5.2-install.patch b/atanks/atanks-5.2-install.patch
deleted file mode 100644
index 0904380cc..000000000
--- a/atanks/atanks-5.2-install.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-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

Generated by cgit