summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorphyskets2018-05-27 23:35:24 +0530
committerphyskets2018-05-27 23:35:24 +0530
commitbc9db2c3deeca7146f09d4e59b0fef74ae5abe9e (patch)
tree9a7cb1fd47a98ed3fe82d3426925f2760970f5c1
parent79cfb81d65a85eede83816f327239a89d96c5795 (diff)
downloadaur-bc9db2c3deeca7146f09d4e59b0fef74ae5abe9e.tar.gz
switch to bazaar repository
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD13
2 files changed, 12 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dd79eb040f00..cf273eb89c4b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
-pkgbase = armagetronad-snapshot
+pkgbase = armagetronad-bzr
pkgdesc = A Tron Clone in 3D.
- pkgver = 0.4_alpha_z2219_20150311
+ pkgver = 0.4
pkgrel = 1
url = http://armagetronad.net/
arch = x86_64
@@ -13,8 +13,8 @@ pkgbase = armagetronad-snapshot
depends = boost-libs
optdepends = python2: language updater
conflicts = armagetronad
- source = https://downloads.sourceforge.net/project/armagetronad/snapshots/trunk/2015/0.4_alpha_z2219_20150311/armagetronad-experimental-0.4_alpha_z2219_20150311.src.tar.bz2
- sha1sums = 92066eb7fdc947717e484ebacb26898a4e228e83
+ source = armagetronad::bzr+lp:armagetronad/0.4
+ sha1sums = SKIP
-pkgname = armagetronad-snapshot
+pkgname = armagetronad-bzr
diff --git a/PKGBUILD b/PKGBUILD
index ac34f3308a57..d4129ea54ee8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,9 @@
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: Filippo 'JoeyrS' Civiletti <joeyrs@gmail.com>
-pkgname=armagetronad-snapshot
-pkgver=0.4_alpha_z2219_20150311
+pkgname=armagetronad-bzr
+_pkgname=armagetronad
+pkgver=0.4
pkgrel=1
pkgdesc='A Tron Clone in 3D.'
arch=('x86_64')
@@ -15,11 +16,11 @@ depends=('sdl2_image' 'libxml2' 'sdl2_mixer' 'ftgl' 'boost-libs')
optdepends=('python2: language updater')
makedepends=('boost')
conflicts=('armagetronad')
-source=(https://downloads.sourceforge.net/project/armagetronad/snapshots/trunk/2015/$pkgver/armagetronad-experimental-$pkgver.src.tar.bz2)
-sha1sums=('92066eb7fdc947717e484ebacb26898a4e228e83')
+source=("$_pkgname::bzr+lp:$_pkgname/$pkgver")
+sha1sums=('SKIP')
build() {
- cd "$srcdir/armagetronad-experimental-$pkgver"
+ cd "$srcdir/$_pkgname"
# python2 fix
sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' language/update.py
@@ -34,7 +35,7 @@ build() {
}
package() {
- cd "$srcdir/armagetronad-$pkgver"
+ cd "$srcdir/$_pkgname"
make DESTDIR="$pkgdir" install
install -D -m 644 "desktop/armagetronad.desktop" "$pkgdir/usr/share/applications/armagetronad.desktop"
install -d "$pkgdir/usr/share/pixmaps/"