# $Id: PKGBUILD 67099 2012-03-04 08:25:15Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Jacek Poplawski # Contributor: Charlie Cox pkgname=atanks pkgver=5.3 pkgrel=1 pkgdesc="Atomic Tanks" url="http://atanks.sourceforge.net" license=('GPL') arch=('i686' 'x86_64') makedepends=('sed') depends=('allegro4>=4.4.0.1' 'gcc-libs') source=("http://downloads.sourceforge.net/project/atanks/atanks/atanks-${pkgver}/atanks-${pkgver}.tar.gz") md5sums=('33e344eb18b1421df120a59696958d5c') build() { cd atanks-${pkgver} make } package() { cd atanks-${pkgver} make DESTDIR=${pkgdir} 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 }