[arch-commits] Commit in python2-pylorcon/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Sat Jan 18 18:59:49 UTC 2014
Date: Saturday, January 18, 2014 @ 19:59:49
Author: arodseth
Revision: 104350
upgpkg: python2-pylorcon 2-4
Modified:
python2-pylorcon/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-01-18 17:50:51 UTC (rev 104349)
+++ PKGBUILD 2014-01-18 18:59:49 UTC (rev 104350)
@@ -5,26 +5,24 @@
pkgname=python2-pylorcon
pkgver=2
-pkgrel=3
+pkgrel=4
_pyver=2.7
pkgdesc='Wrapper for the LORCON (Loss Of Radio CONnectivity) library'
arch=('any')
url='https://github.com/tom5760/pylorcon2'
license=('GPL2')
-depends=("python2>=$pyver" 'lorcon')
+depends=("python2>=$_pyver" 'lorcon')
replaces=('pylorcon')
source=("pylorcon2.zip::https://github.com/tom5760/pylorcon$pkgver/zipball/master")
-sha256sums=('194bf213b67823f657e22c025fce6664c66ac0cb8be7b4a497584c01fa6deaec')
+sha256sums=('b67bf17028188bccc94c127d161ed35bbf7a4209b88af97c2694e39ee2da6b0d')
build() {
- cd "$srcdir/tom5760-pylorcon2-aeb74d1/"
-
+ cd "tom5760-pylorcon2-aeb74d1/"
sed -i '0,/on/s//on2/' lorcon.py
}
package() {
- cd "$srcdir/tom5760-pylorcon2-aeb74d1/"
-
+ cd "tom5760-pylorcon2-aeb74d1/"
install -Dm644 lorcon.py \
"$pkgdir/usr/lib/python2.7/site-packages/PyLorcon2.py"
}
More information about the arch-commits
mailing list