diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-08 17:23:24 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-08 17:23:24 -0300 |
commit | da4865e38266a85c230abd569a95aa7152c4f9e9 (patch) | |
tree | 610329610e1d43cd175b799f48942201b718329d /community/atanks/PKGBUILD | |
parent | 19ae256a3867f63f4a1db7ed50da6f0bed71ec8d (diff) | |
parent | 4d91fc9a2dc38054b8748f27193dc3a6950bda3c (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/luaexpat/PKGBUILD
community/qps/PKGBUILD
extra/python-egenix-mx-base/PKGBUILD
libre/thunderbird-libre/rePKGBUILD
staging/kdesdk/PKGBUILD
Diffstat (limited to 'community/atanks/PKGBUILD')
-rw-r--r-- | community/atanks/PKGBUILD | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/community/atanks/PKGBUILD b/community/atanks/PKGBUILD index 561826e5f..6bdf29c51 100644 --- a/community/atanks/PKGBUILD +++ b/community/atanks/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 42290 2011-03-16 10:36:27Z spupykin $ +# $Id: PKGBUILD 48863 2011-06-06 21:45:37Z tdziedzic $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jacek Poplawski <jacekpoplawski@gmail.com> # Contributor: Charlie Cox <ccoxiv@yahoo.com> pkgname=atanks -pkgver=4.8 +pkgver=5.0 pkgrel=1 pkgdesc="Atomic Tanks" url="http://atanks.sourceforge.net" @@ -12,25 +12,32 @@ license=('GPL') arch=('i686' 'x86_64' 'mips64el') makedepends=('sed') depends=('allegro>=4.4.0.1' 'gcc-libs') -source=(http://downloads.sourceforge.net/project/atanks/atanks/atanks-$pkgver/atanks-$pkgver.tar.gz) -md5sums=('a00b709f6aec4e0e33ab0d56a6e932e7') +source=("http://downloads.sourceforge.net/project/atanks/atanks/atanks-${pkgver}/atanks-${pkgver}.tar.gz") +md5sums=('1978fabfb5ab2c33bd079eb492ee4362') build() { - cd "$srcdir/$pkgname-$pkgver" + cd atanks-${pkgver} #debug messages fix - sed -i '/lines->Display_All(TRUE)/d' src/files.cpp - sed -i '/Scroll Offset:/d' src/files.cpp - sed -i '/T offset:/d' src/files.cpp + #sed -i '/lines->Display_All(TRUE)/d' src/files.cpp + #sed -i '/Scroll Offset:/d' src/files.cpp + #sed -i '/T offset:/d' src/files.cpp # - sed -i '1,1i#include <sys/stat.h>' src/files.cpp + #sed -i '1,1i#include <sys/stat.h>' src/files.cpp make +} + +package() { + cd atanks-${pkgver} + make PREFIX=${pkgdir}/usr/ INSTALL="install -c" install sed -i 's/^Name=atanks/Name=Atomic Tanks/' atanks.desktop sed -i 's/^Categories=Game;/Categories=Game;StrategyGame;/' atanks.desktop - install -Dm644 atanks.desktop $pkgdir/usr/share/applications/atanks.desktop - install -Dm644 atanks.png $pkgdir/usr/share/pixmaps/atanks.png + install -Dm644 atanks.desktop \ + $pkgdir/usr/share/applications/atanks.desktop + install -Dm644 atanks.png \ + $pkgdir/usr/share/pixmaps/atanks.png } |