summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 13 insertions, 7 deletions
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}"
}