summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot2016-05-07 23:47:39 +0200
committerroot2016-05-07 23:47:39 +0200
commitcc921c1d044fb594b1d088a84dd9f16fa2e928d9 (patch)
tree8a3a7f7f2d44fcba5d70aba01b0d4dfc1271e3c1
parentf3c9782541066b2e8b830b8ec5156e8b3c81cdbc (diff)
downloadaur-cc921c1d044fb594b1d088a84dd9f16fa2e928d9.tar.gz
Add missing import
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2afc1008048..9b338561f73 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: crystaly <crystaly [ at ] posteo [ dot ] de>
pkgname=spotify-connect-web
pkgver=r55.979f510
-pkgrel=1
+pkgrel=2
pkgdesc="Simple Web client for accessing Spotify connect api (Raspberry Pi 2)"
arch=('any')
url="https://github.com/chukysoria/spotify-connect-web"
@@ -36,6 +36,9 @@ prepare() {
# fix volmin/volmax parameters not being applied
sed -i 's|.mixer_load()|.mixer_load(self.args.mixer, self.args.volmin, self.args.volmax)|g' connect_console.py
+ # fix missing sleep import
+ sed -i '/^from gevent/i from gevent import sleep' main.py
+
# replace python by python2
sed -i 's|^#!/usr/bin/env python$|#!/usr/bin/env python2|g' *.py