1diff --git a/apks/yt-dlp/APKBUILD b/apks/yt-dlp/APKBUILD
2new file mode 100644
3index 0000000000000000000000000000000000000000..d4db189ab95d12224f166243b6026b065c675c11
4--- /dev/null
5+++ b/apks/yt-dlp/APKBUILD
6@@ -0,0 +1,46 @@
7+# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
8+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
9+# Contributor: Timo Teräs <timo.teras@iki.fi>
10+# Contributor: Leo <thinkabit.ukim@gmail.com>
11+# Maintainer: Sodface <sod@sodface.com>
12+pkgname=yt-dlp
13+pkgver=2022.10.04
14+pkgrel=1
15+pkgdesc="Command-line program to download videos from YouTube"
16+url="https://github.com/yt-dlp/yt-dlp"
17+arch="noarch"
18+license="Unlicense"
19+depends="python3 py3-mutagen py3-websockets py3-certifi py3-brotli"
20+makedepends="py3-setuptools"
21+checkdepends="py3-flake8 py3-nose py3-pytest"
22+subpackages="
23+ $pkgname-doc
24+ $pkgname-zsh-completion
25+ $pkgname-bash-completion
26+ $pkgname-fish-completion
27+ "
28+source="$pkgname-$pkgver.tar.gz::https://github.com/yt-dlp/yt-dlp/releases/download/$pkgver/yt-dlp.tar.gz"
29+builddir="$srcdir/$pkgname"
30+
31+build() {
32+ python3 setup.py build
33+
34+ make completions
35+}
36+
37+check() {
38+ PYTHON=/usr/bin/python3 make offlinetest
39+}
40+
41+package() {
42+ python3 setup.py install --prefix=/usr --root="$pkgdir"
43+
44+ # Install fish completion to the correct directory
45+ rm -r "$pkgdir"/usr/share/fish/vendor_completions.d
46+ install -Dm644 completions/fish/yt-dlp.fish \
47+ -t "$pkgdir"/usr/share/fish/completions
48+}
49+
50+sha512sums="
51+5e24eea9739325349e975a92eed9d38605f62a423ae16127e1966bf96974419939f46986d7f61306f827edebd9f7408d048672e99c214bc59b2cdccad1938004 yt-dlp-2022.10.04.tar.gz
52+"