summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMassimiliano Torromeo2014-06-24 16:58:47 +0200
committerMassimiliano Torromeo2014-06-24 16:58:47 +0200
commit1ab51bedbbd9c4fe762d0f30f92aaed237296677 (patch)
treed92f2f54fd7c5597b1eade5a6213cbdd45903817
parent264f7fd78e2fcb644a2b41020bdf6cdf8bae9d83 (diff)
downloadaur-1ab51bedbbd9c4fe762d0f30f92aaed237296677.tar.gz
Updated python-stomp.py to version 4.0.12
-rw-r--r--PKGBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dc64a8bf944..6c4b43ea635 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,25 @@
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=python-stomp.py
-pkgver=3.1.1
+pkgver=4.0.12
pkgrel=1
pkgdesc="Python STOMP client, supporting versions 1.0 and 1.1 of the protocol"
arch=(any)
url="http://code.google.com/p/stomppy"
license=(Apache 2.0)
depends=(python)
-source=(http://stomppy.googlecode.com/files/stomp.py-$pkgver.tar.gz)
+makedepends=('python-setuptools')
+source=("http://pypi.python.org/packages/source/s/stomp.py/stomp.py-$pkgver.tar.gz")
build() {
- cd "$srcdir/stomp.py-$pkgver"
- python setup.py install -O1 --root="$pkgdir"
+ cd "$srcdir/stomp.py-$pkgver"
+ python setup.py build
}
-md5sums=('c151d41d61db53177db9d80d90c11113')
+package() {
+ cd "$srcdir/stomp.py-$pkgver"
+ python setup.py install -O1 --skip-build --root="$pkgdir"
+ install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+sha256sums=('ce2a2293054600b4a1456e44828e60da29afa198bfa8fd85b9de74dfaef4231a')