summaryrefslogtreecommitdiff
path: root/community/atanks
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/atanks
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/atanks')
-rw-r--r--community/atanks/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/atanks/PKGBUILD b/community/atanks/PKGBUILD
new file mode 100644
index 000000000..7cf9b9c64
--- /dev/null
+++ b/community/atanks/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 81091 2012-12-11 19:04:12Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Jacek Poplawski <jacekpoplawski@gmail.com>
+# Contributor: Charlie Cox <ccoxiv@yahoo.com>
+
+pkgname=atanks
+pkgver=5.7
+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=('135f8cb55e99a4a7b34996f260a9de6a')
+
+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
+}