commit 9c0909c6171838b43bf33803a8a58d06999f6ef3 Author: Danny Rawlins <monster.romster@gmail.com> Date: Sat Feb 28 01:53:20 2015 +1100 atanks: 5.9 -> 6.1 diff --git a/atanks/.md5sum b/atanks/.md5sum index 9a69011..7cd2856 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 205880e..f33163a 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-$v... - $name-5.2-install.patch) +source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version/$name-$v...) 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 0904380..0000000 --- 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