summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Binh Nguyen <binhnguyen@fastmail.fm>2010-11-25 16:47:34 -0600
committer Heinz Wiesinger <pprkut@slackbuilds.org>2010-11-29 12:45:55 +0100
commitd8d5db472f254634275e8b6ed61351e5d5e956e0 (patch)
treebdb4b388539c1d1f180caba2c78f7a34f63799a7
parent2187fda3d6fd5491162894657fb536f0aa187346 (diff)
downloadslackbuilds-d8d5db472f254634275e8b6ed61351e5d5e956e0.tar.gz
slackbuilds-d8d5db472f254634275e8b6ed61351e5d5e956e0.tar.xz
audio/sonata: Fix fetching of lyrics
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--audio/sonata/sonata.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/sonata/sonata.SlackBuild b/audio/sonata/sonata.SlackBuild
index fa03ae2731..778c76a5ce 100644
--- a/audio/sonata/sonata.SlackBuild
+++ b/audio/sonata/sonata.SlackBuild
@@ -24,15 +24,13 @@
PRGNAM=sonata
VERSION=1.6.2.1
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG=_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -70,6 +68,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# http://lists.slackbuilds.org/pipermail/slackbuilds-users/2010-November/006637.html
+sed -i "s#lyricwiki.org#lyrics.wikia.org#g" sonata/info.py
+
python setup.py install --root=$PKG
mv $PKG/usr/share/man $PKG/usr/man