aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2021-11-21 19:27:50 +0100
committerLeo <thinkabit.ukim@gmail.com>2021-11-22 04:38:27 +0000
commit05f3b2b79517531a4eb4d3b02cad41dc7bb409e9 (patch)
treeb24ffc59c894f769b461a5597cdc8665dd14b39e
parent6c32ed930aab38885fee22d0c78bfa5d08a3f15d (diff)
downloadaports-05f3b2b79517531a4eb4d3b02cad41dc7bb409e9.tar.gz
aports-05f3b2b79517531a4eb4d3b02cad41dc7bb409e9.tar.bz2
aports-05f3b2b79517531a4eb4d3b02cad41dc7bb409e9.tar.xz
community/yt-dlp: use upstream release tarball for man page
Since we don't have pandoc in community/ the man page is otherwise not build and the -doc subpackage remains empty. The now used tarball contains a pre-built version of the man page and does thus not require pandoc: >>> Size difference for yt-dlp-doc: 28 KiB -> 152 KiB --- filelist-yt-dlp-doc-old 2021-11-21 19:27:31.725170152 +0100 +++ filelist-yt-dlp-doc 2021-11-21 19:27:31.735170323 +0100 @@ -3,5 +3,7 @@ usr/share/ usr/share/doc/ usr/share/doc/yt_dlp/ +usr/share/doc/yt_dlp/README.txt usr/share/man/ usr/share/man/man1/ +usr/share/man/man1/yt-dlp.1.gz
-rw-r--r--community/yt-dlp/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/community/yt-dlp/APKBUILD b/community/yt-dlp/APKBUILD
index 23c7306280..f6c80f6846 100644
--- a/community/yt-dlp/APKBUILD
+++ b/community/yt-dlp/APKBUILD
@@ -5,7 +5,7 @@
# Maintainer: Sodface <sod@sodface.com>
pkgname=yt-dlp
pkgver=2021.11.10.1
-pkgrel=0
+pkgrel=1
pkgdesc="Command-line program to download videos from YouTube"
url="https://github.com/yt-dlp/yt-dlp"
arch="noarch"
@@ -18,7 +18,8 @@ subpackages="$pkgname-doc
$pkgname-bash-completion
$pkgname-fish-completion
"
-source="$pkgname-$pkgver.tar.gz::https://github.com/yt-dlp/yt-dlp/archive/refs/tags/$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/yt-dlp/yt-dlp/releases/download/$pkgver/yt-dlp.tar.gz"
+builddir="$srcdir/$pkgname"
build() {
python3 setup.py build
@@ -43,5 +44,5 @@ package() {
}
sha512sums="
-06c466ed8f41013087be4065abedbf22a2cbdd648969f2f2d96df5b4ac31fb281b92891d83aa17a509d9f729b9b14fdf587df5cfcef635eb810af12558540307 yt-dlp-2021.11.10.1.tar.gz
+84514d50254aa46507b95307e1f2b3c067be0b16d1c4ecf7df8b1946d0ff386dad675d246e1275d97c7fd18dfe32047402984040e7f8d881efeb67647b472c66 yt-dlp-2021.11.10.1.tar.gz
"