Skip to content
Snippets Groups Projects
Commit ec1aeb21 authored by Kyle Keen's avatar Kyle Keen
Browse files

upgpkg: 0.2.8.3.4-3

parent dc396762
No related branches found
No related tags found
No related merge requests found
...@@ -4,24 +4,27 @@ ...@@ -4,24 +4,27 @@
pkgname=armagetronad pkgname=armagetronad
pkgver=0.2.8.3.4 pkgver=0.2.8.3.4
pkgrel=2 pkgrel=3
pkgdesc='A Tron Clone in 3D.' pkgdesc='A Tron Clone in 3D.'
arch=('x86_64') arch=('x86_64')
url='http://armagetronad.net/' url='http://armagetronad.net/'
license=('GPL') license=('GPL')
depends=('sdl_image' 'libxml2' 'sdl_mixer' 'ftgl') depends=('sdl_image' 'libxml2' 'sdl_mixer' 'ftgl')
optdepends=('python2: language updater') makedepends=('python')
optdepends=('python: language updater')
source=(https://downloads.sourceforge.net/sourceforge/armagetronad/armagetronad-$pkgver.src.tar.gz) source=(https://downloads.sourceforge.net/sourceforge/armagetronad/armagetronad-$pkgver.src.tar.gz)
md5sums=('c51c858b6b10f48606514cc1ef8a6dad') md5sums=('c51c858b6b10f48606514cc1ef8a6dad')
build() { prepare() {
cd "$srcdir/armagetronad-$pkgver" cd "$srcdir/armagetronad-$pkgver"
2to3 -w language/update.py
# 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|FTGL.h|ftgl.h|g' configure
sed -i 's|png_check_sig|png_sig_cmp|g' configure sed -i 's|png_check_sig|png_sig_cmp|g' configure
}
build() {
cd "$srcdir/armagetronad-$pkgver"
./configure --prefix=/usr \ ./configure --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
--mandir=/usr/share/man \ --mandir=/usr/share/man \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment