aboutsummaryrefslogtreecommitdiff
path: root/libraries/libcec/libcec.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libcec/libcec.SlackBuild')
-rw-r--r--libraries/libcec/libcec.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/libraries/libcec/libcec.SlackBuild b/libraries/libcec/libcec.SlackBuild
index c339ee8373b5..27b66ce08ba6 100644
--- a/libraries/libcec/libcec.SlackBuild
+++ b/libraries/libcec/libcec.SlackBuild
@@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=libcec
-VERSION=${VERSION:-1.3.1}
+VERSION=${VERSION:-1.5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -38,14 +38,17 @@ fi
set -e
-[ -e ${PRGNAM}-${VERSION} ] && mv ${PRGNAM}-${VERSION} Pulse-Eight-libcec-$PRGNAM-$VERSION-0-gfe0cd8a.tar.gz
-DIRNAME=$(tar -tf $CWD/Pulse-Eight-libcec-$PRGNAM-$VERSION-0-gfe0cd8a.tar.gz | head -1)
+if [ -r $CWD/$PRGNAM-$VERSION ]; then
+ mv $CWD/$PRGNAM-$VERSION $CWD/Pulse-Eight-libcec-$PRGNAM-$VERSION-0-g00a02d1.tar.gz
+fi
+
+DIRNAME=$(tar -tf $CWD/Pulse-Eight-libcec-$PRGNAM-$VERSION-0-g00a02d1.tar.gz | head -1)
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $DIRNAME
-tar xvf $CWD/Pulse-Eight-libcec-$PRGNAM-$VERSION-0-gfe0cd8a.tar.gz
+tar xvf $CWD/Pulse-Eight-libcec-$PRGNAM-$VERSION-0-g00a02d1.tar.gz
cd $DIRNAME
chown -R root:root .
find . \