diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2012-04-22 01:42:56 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-04-22 18:06:20 -0500 |
commit | e6267b39a96da8b3b1e8f236bc6fe7fa425155f9 (patch) | |
tree | 8d105c5cbc553ab7edc9a7ae7fa6059abdc70d60 /libraries/libcec/libcec.SlackBuild | |
parent | 39d16baf4064fcba805fccf48e17af826b0ef249 (diff) | |
download | slackbuilds-e6267b39a96da8b3b1e8f236bc6fe7fa425155f9.tar.gz |
libraries/libcec: Updated for version 1.5.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libcec/libcec.SlackBuild')
-rw-r--r-- | libraries/libcec/libcec.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libraries/libcec/libcec.SlackBuild b/libraries/libcec/libcec.SlackBuild index c339ee8373..27b66ce08b 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 . \ |