summaryrefslogtreecommitdiff
path: root/network/youtube-dl/youtube-dl.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-08-10 14:44:43 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:22:40 +0700
commita09dde546cd15116ebbe398d19b7799f84455e38 (patch)
tree607096bfcc98c009ca8a00199a2e17a0462c4f17 /network/youtube-dl/youtube-dl.SlackBuild
parent4e2769f14665bff3ac2b85c12ea1d2aeefc0f549 (diff)
downloadslackbuilds-a09dde546cd15116ebbe398d19b7799f84455e38.tar.gz
network/youtube-dl: Updated for version 2016.08.10.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'network/youtube-dl/youtube-dl.SlackBuild')
-rw-r--r--network/youtube-dl/youtube-dl.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/network/youtube-dl/youtube-dl.SlackBuild b/network/youtube-dl/youtube-dl.SlackBuild
index 3b2f63f087..6e60081b1f 100644
--- a/network/youtube-dl/youtube-dl.SlackBuild
+++ b/network/youtube-dl/youtube-dl.SlackBuild
@@ -24,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=youtube-dl
-VERSION=${VERSION:-2016.07.30}
+VERSION=${VERSION:-2016.08.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -91,11 +91,9 @@ mkdir -p $PKG/usr/man/man1
install -D -m0644 $CWD/$PRGNAM.1 $PKG/usr/man/man1/$PRGNAM.1
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.md LICENSE AUTHORS ${PRGNAM}.plugin.zsh $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md LICENSE AUTHORS ${PRGNAM}.plugin.zsh docs/*.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install