diff options
author | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
commit | dee9f17b595ea903a982d31d1124b302bb17e2ff (patch) | |
tree | 295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/armagetronad | |
parent | 380530d02a5449fdef97b63b394a6743c3de0092 (diff) |
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/armagetronad')
-rw-r--r-- | community/armagetronad/PKGBUILD | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/community/armagetronad/PKGBUILD b/community/armagetronad/PKGBUILD deleted file mode 100644 index dc36a979b..000000000 --- a/community/armagetronad/PKGBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# $Id: PKGBUILD 90005 2013-05-06 19:36:16Z foutrelis $ -# Maintainer: Kyle Keen <keenerd@gmail.com> -# Contributor: Mateusz Herych <heniekk@gmail.com> -# Contributor: Filippo 'JoeyrS' Civiletti <joeyrs@gmail.com> - -pkgname=armagetronad -pkgver=0.2.8.3.2 -pkgrel=4 -pkgdesc='A Tron Clone in 3D.' -arch=('i686' 'x86_64') -url='http://armagetronad.net/' -license=('GPL') -depends=('sdl_image' 'libxml2' 'sdl_mixer' 'ftgl') -optdepends=('python2: language updater') -source=(http://downloads.sourceforge.net/sourceforge/armagetronad/armagetronad-$pkgver.src.tar.gz) -md5sums=('f7796de4ef50bd33553e0a3f93fd67e6') - -build() { - cd "$srcdir/armagetronad-$pkgver" - - # python2 fix - sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' language/update.py - - sed -i 's|FTGL.h|ftgl.h|g' configure - sed -i 's|png_check_sig|png_sig_cmp|g' configure - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --disable-games \ - --enable-automakedefaults \ - --disable-uninstall - make -} - -package() { - cd "$srcdir/armagetronad-$pkgver" - make DESTDIR="$pkgdir" install - install -D -m 644 "desktop/armagetronad.desktop" "$pkgdir/usr/share/applications/armagetronad.desktop" - install -d "$pkgdir/usr/share/pixmaps/" - ln -s /usr/share/armagetronad/desktop/icons/large/armagetronad.png \ - "$pkgdir/usr/share/pixmaps/armagetronad.png" - mv "$pkgdir/usr/bin/armagetronad" "$pkgdir/usr/bin/armagetronad_bin" - printf "#!/bin/bash\n/usr/bin/armagetronad_bin --configdir /etc/armagetronad --datadir /usr/share/armagetronad" > "$pkgdir/usr/bin/armagetronad" - chmod +x "$pkgdir/usr/bin/armagetronad" -} |