diff options
author | Samuel Young <samyoung12788@gmail.com> | 2023-07-17 09:58:13 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-17 09:58:13 +0700 |
commit | 82beed919990c9d962a462cdab24b2a76d401a04 (patch) | |
tree | 0bb5569129c7e0313ee73875e05932fc07701949 /network | |
parent | cee78154c3c4217f85209daf37c9052641e593d5 (diff) |
network/ytfzf: Updated for version 2.6.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/ytfzf/slack-desc | 2 | ||||
-rw-r--r-- | network/ytfzf/ytfzf.SlackBuild | 36 | ||||
-rw-r--r-- | network/ytfzf/ytfzf.info | 6 |
3 files changed, 13 insertions, 31 deletions
diff --git a/network/ytfzf/slack-desc b/network/ytfzf/slack-desc index 29e4106c930ed..85adc7c51068c 100644 --- a/network/ytfzf/slack-desc +++ b/network/ytfzf/slack-desc @@ -13,7 +13,7 @@ ytfzf: making use of mpv and youtube-dl under the hood. ytfzf also features ytfzf: support for video history, allows choosing the media format and can ytfzf: queue multiple tracks. ytfzf: -ytfzf: Homepage: https://github.com/pystardust/ytfzf ytfzf: ytfzf: +ytfzf: Homepage: https://github.com/pystardust/ytfzf ytfzf: diff --git a/network/ytfzf/ytfzf.SlackBuild b/network/ytfzf/ytfzf.SlackBuild index 998f991a4d5e0..1f47113b9ea17 100644 --- a/network/ytfzf/ytfzf.SlackBuild +++ b/network/ytfzf/ytfzf.SlackBuild @@ -25,18 +25,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ytfzf -VERSION=${VERSION:-2.5.5} +VERSION=${VERSION:-2.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" @@ -47,20 +40,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -87,14 +66,17 @@ mv $PKG/usr/share/doc/ytfzf/conf.sh $PKG/usr/doc/$PRGNAM-$VERSION/examples rm -R $PKG/usr/share/doc mv $PKG/usr/share/licenses/ytfzf/LICENSE $PKG/usr/doc/$PRGNAM-$VERSION rm -R $PKG/usr/share/licenses -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $TMP/$PRGNAM-$VERSION/README.md > $PKG/usr/doc/$PRGNAM-$VERSION/README -cat $TMP/$PRGNAM-$VERSION/CONTRIBUTING.md > $PKG/usr/doc/$PRGNAM-$VERSION/CONTRIBUTING -cat $TMP/$PRGNAM-$VERSION/docs/subscriptions > $PKG/usr/doc/$PRGNAM-$VERSION/examples/subscriptions + +cp docs/subscriptions $PKG/usr/doc/$PRGNAM-$VERSION/examples/subscriptions mkdir -p $PKG/usr/share/ytfzf cp -r $TMP/$PRGNAM-$VERSION/addons $PKG/usr/share/ytfzf/addons chmod +x $PKG/usr/share/ytfzf/addons/* +cp -a \ + README.md CONTRIBUTING.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/network/ytfzf/ytfzf.info b/network/ytfzf/ytfzf.info index fd68c2c90419b..d274e9e01de6b 100644 --- a/network/ytfzf/ytfzf.info +++ b/network/ytfzf/ytfzf.info @@ -1,8 +1,8 @@ PRGNAM="ytfzf" -VERSION="2.5.5" +VERSION="2.6.0" HOMEPAGE="https://github.com/pystardust/ytfzf" -DOWNLOAD="https://github.com/pystardust/ytfzf/archive/v2.5.5/ytfzf-2.5.5.tar.gz" -MD5SUM="1f0290006143f2c8d9b4470c67a2a27b" +DOWNLOAD="https://github.com/pystardust/ytfzf/archive/v2.6.0/ytfzf-2.6.0.tar.gz" +MD5SUM="2b083078f31d9af1cad25ace63feea39" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="fzf jq mpv yt-dlp" |