aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/glyr/glyr.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/multimedia/glyr/glyr.SlackBuild b/multimedia/glyr/glyr.SlackBuild
index 5faed9268444..aad64c70066a 100644
--- a/multimedia/glyr/glyr.SlackBuild
+++ b/multimedia/glyr/glyr.SlackBuild
@@ -24,6 +24,7 @@
# Now maintained by B. Watson <yalhcru@gmail.com>
+# 20180904 bkw: BUILD=2, fix lyricswiki
# 20170302 bkw: use long-format github URL
# 20170121 bkw:
@@ -39,7 +40,7 @@
PRGNAM=glyr
VERSION=${VERSION:-1.0.10}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -80,12 +81,11 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# 20180904 bkw: fix from upstream git, for the lyricswiki provider.
+patch -p1 < $CWD/94967c3.diff
# upstream places -Os after the flags we provide, which undoes our -O2.
sed -i "s,-Os,," CMakeLists.txt