summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishnu V K2020-03-25 11:49:55 +0530
committerVishnu V K2020-03-25 11:49:55 +0530
commit77782856749f424d841541c93c6e52bbd0002e44 (patch)
tree6c3072266d49ff77cc74a6b6637901d4ef01084b
parent97ef0c83de5adda04200a00e02275cbfbd94fd3f (diff)
downloadaur-77782856749f424d841541c93c6e52bbd0002e44.tar.gz
use python3
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 002f3f01960..d5d47b3a1a7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = armagetronad-git
pkgdesc = A Tron Clone in 3D.
pkgver = r4128.7392b902f
- pkgrel = 5
+ pkgrel = 6
url = http://armagetronad.net/
arch = x86_64
license = GPL
@@ -12,7 +12,7 @@ pkgbase = armagetronad-git
depends = ftgl
depends = boost-libs
depends = protobuf
- optdepends = python2: language updater
+ optdepends = python: language updater
provides = armagetronad
conflicts = armagetronad
source = git+https://gitlab.com/armagetronad/armagetronad.git
diff --git a/PKGBUILD b/PKGBUILD
index f1f3d6c929d..371f9a0804d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,13 +7,13 @@
_pkgname=armagetronad
pkgname=${_pkgname}-git
pkgver='r4128.7392b902f'
-pkgrel=5
+pkgrel=6
pkgdesc='A Tron Clone in 3D.'
arch=('x86_64')
url='http://armagetronad.net/'
license=('GPL')
depends=('sdl2_image' 'libxml2' 'sdl2_mixer' 'ftgl' 'boost-libs' 'protobuf')
-optdepends=('python2: language updater')
+optdepends=('python: language updater')
makedepends=('boost')
provides=('armagetronad')
conflicts=('armagetronad')
@@ -27,8 +27,7 @@ pkgver() {
prepare(){
cd "${srcdir}/${_pkgname}"
- # python2 fix
- sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' language/update.py
+ 2to3 -w language/update.py
}
build() {