summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2015-04-28 14:55:07 +0200
committerFlorian Bruhin <git@the-compiler.org>2015-04-28 14:55:07 +0200
commitc2e0de16797c49526b6f6ae126b16921bd9dee53 (patch)
tree0c43ce57dac1cafaece105140aa594b3de54ffe8
parent50cf44ea117242ab5fe47776c5e4bab56350079b (diff)
downloadpkgbuild-c2e0de16797c49526b6f6ae126b16921bd9dee53.tar.gz
pkgbuild-c2e0de16797c49526b6f6ae126b16921bd9dee53.zip
python{,2}-websocket-client: Fix directory name
-rw-r--r--python-websocket-client/PKGBUILD4
-rw-r--r--python2-websocket-client/PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/python-websocket-client/PKGBUILD b/python-websocket-client/PKGBUILD
index 84b23bc..3f6dfc0 100644
--- a/python-websocket-client/PKGBUILD
+++ b/python-websocket-client/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=python-websocket-client
pkgver=0.30.0
-pkgrel=1
+pkgrel=2
pkgdesc="WebSocket client library for Python"
arch=(any)
url="https://github.com/liris/websocket-client"
@@ -16,7 +16,7 @@ source=(http://pypi.python.org/packages/source/w/websocket-client/websocket_clie
sha512sums=('e131d84c1b2e477f47baf0fdf0a6dc21f0ea56f6e629a0febd56c6de06ff232d306c2d93a9f824ce84f44827e5cc56c6146dc0c1ceea3a8a63af1e1adae9b17c')
package() {
- cd "$srcdir/websocket-client-$pkgver"
+ cd "$srcdir/websocket_client-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
diff --git a/python2-websocket-client/PKGBUILD b/python2-websocket-client/PKGBUILD
index fb620db..48c556e 100644
--- a/python2-websocket-client/PKGBUILD
+++ b/python2-websocket-client/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=python2-websocket-client
pkgver=0.30.0
-pkgrel=1
+pkgrel=2
pkgdesc="Websocket client for Python."
url="https://github.com/liris/websocket-client"
license=('LGPL')
@@ -15,12 +15,12 @@ source=(http://pypi.python.org/packages/source/w/websocket-client/websocket_clie
sha512sums=('e131d84c1b2e477f47baf0fdf0a6dc21f0ea56f6e629a0febd56c6de06ff232d306c2d93a9f824ce84f44827e5cc56c6146dc0c1ceea3a8a63af1e1adae9b17c')
build() {
- cd "$srcdir/websocket-client-$pkgver"
+ cd "$srcdir/websocket_client-$pkgver"
python2 setup.py build
}
package() {
- cd "$srcdir/websocket-client-$pkgver"
+ cd "$srcdir/websocket_client-$pkgver"
python2 setup.py install --root="$pkgdir" --optimize=1
rm "$pkgdir/usr/bin/wsdump.py" # provided by python3 package
}