summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Dewender2015-06-17 16:20:06 +0200
committerJohannes Dewender2015-06-17 16:20:06 +0200
commite8d60da6d7975094f257e34164f80d7d9cf5e593 (patch)
treeff04d4336584d14ec9085f03515a43865f897e89
parentc56e2d6ddeb7626ef04d1283d4e58e8052d05423 (diff)
downloadaur-e8d60da6d7975094f257e34164f80d7d9cf5e593.tar.gz
bzr-stats: update source url, make "any"
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD20
2 files changed, 16 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4e1f7211518..69e804745c3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,12 @@
pkgbase = bzr-stats
pkgdesc = Simple statistics plugin for Bazaar.
pkgver = 0.1.0+bzr51
- pkgrel = 1
+ pkgrel = 2
url = http://launchpad.net/bzr-stats
- arch = i686
- arch = x86_64
+ arch = any
license = GPL
depends = bzr
- source = https://launchpad.net/debian/wheezy/+source/bzr-stats/0.1.0+bzr51-1/+files/bzr-stats_0.1.0+bzr51.orig.tar.bz2
+ source = http://http.debian.net/debian/pool/main/b/bzr-stats/bzr-stats_0.1.0+bzr51.orig.tar.bz2
md5sums = 8a02f3bd22f1c9a37f1ded89151639c9
pkgname = bzr-stats
diff --git a/PKGBUILD b/PKGBUILD
index 57c52c5cb93..d1019bcb500 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,20 @@
-# Submitter: Carlos Eduardo Moreira dos Santos (cemsbr) <cems at domain cemshost.com.br>
-# Mantainer: iosonofabio Fabio Zanini <fabio.zanini@fastmail.fm>
+# Contributore: Johannes Dewender arch at JonnyJD dot net
+# Contributore: iosonofabio Fabio Zanini <fabio.zanini@fastmail.fm>
+# Constributor: Carlos Eduardo Moreira dos Santos (cemsbr) <cems at domain cemshost.com.br>
pkgname=bzr-stats
pkgver=0.1.0+bzr51
-pkgrel=1
+pkgrel=2
pkgdesc="Simple statistics plugin for Bazaar."
-arch=('i686' 'x86_64')
+arch=('any')
url="http://launchpad.net/bzr-stats"
license=('GPL')
depends=('bzr')
-source=(https://launchpad.net/debian/wheezy/+source/${pkgname}/${pkgver}-1/+files/${pkgname}_${pkgver}.orig.tar.bz2)
+source=(http://http.debian.net/debian/pool/main/b/${pkgname}/${pkgname}_${pkgver}.orig.tar.bz2)
md5sums=('8a02f3bd22f1c9a37f1ded89151639c9')
-iprepare() {
+prepare() {
cd "${srcdir}/${pkgname}_${pkgver}.orig"
# Replace python with python2
for file in $(find ./ -name '*.py' -print); do
@@ -24,5 +25,10 @@ iprepare() {
build() {
cd "${srcdir}/${pkgname}_${pkgver}.orig"
- python2 ./setup.py install --prefix=/usr --root="${pkgdir}" -O1
+ python2 ./setup.py build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}_${pkgver}.orig"
+ python2 ./setup.py install --root="${pkgdir}"
}