summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6e930f7f067..f32fe5e4b5c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python2-scikit-rf-git
pkgdesc = Scikit-rf (aka skrf) is a python package for RF/Microwave engineering
pkgver = 0.14.r145.g57f0b32
- pkgrel = 1
+ pkgrel = 2
url = http://scikit-rf-web.readthedocs.org
arch = any
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index 0973c451945..6fbe759bfc7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: BrainDamage
pkgname="python2-scikit-rf-git"
pkgver=0.14.r145.g57f0b32
-pkgrel=1
+pkgrel=2
pkgdesc="Scikit-rf (aka skrf) is a python package for RF/Microwave engineering"
arch=(any)
url="http://scikit-rf-web.readthedocs.org"
@@ -21,16 +21,16 @@ md5sums=("SKIP")
source=("git+https://github.com/scikit-rf/scikit-rf.git")
pkgver() {
- cd "scikit-rf"
+ cd "$srcdir/scikit-rf"
git describe | sed 's/^v//; s/-/.r/; s/-/./'
}
build () {
- cd "scikit-rf"
+ cd "$srcdir/scikit-rf"
python2 setup.py build
}
package() {
- cd "scikit-rf"
+ cd "$srcdir/scikit-rf"
python2 setup.py install --root="$pkgdir/" --prefix="/usr"
}