makedeb


yt-dlp-drop-in 2.1.1-1


Emulate youtube-dl executables and modules with yt-dlp

Click here to go back to the commit logs for yt-dlp-drop-in.

Commit:


Hash: 910c448f67c4edf6945f5a75240c347cb4dab533

Message: fix modules import

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 2839e21..04a2993 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
 generated-by = makedeb
 pkgname = yt-dlp-drop-in
 pkgbase = yt-dlp-drop-in
-pkgdesc = Emulate youtube-dl executables with yt-dlp
-pkgrel = 1
-pkgver = 2.0
+pkgdesc = Emulate youtube-dl executables and modules with yt-dlp
+pkgrel = 0
+pkgver = 2.1
 arch = all
 conflicts = youtube-dl
 depends = yt-dlp
diff --git a/PKGBUILD b/PKGBUILD
index b1ccd31..249b0d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,9 +3,9 @@
 # Contributor: Sematre (AUR) <sematre at gmx dot de>
 
 pkgname=yt-dlp-drop-in
-pkgver=2.0
-pkgrel=1
-pkgdesc='Emulate youtube-dl executables with yt-dlp'
+pkgver=2.1
+pkgrel=0
+pkgdesc='Emulate youtube-dl executables and modules with yt-dlp'
 arch=('all')
 license=('MIT')
 depends=('yt-dlp')
@@ -27,10 +27,10 @@ if __name__ == '__main__':
 
     main(args)"
 
-  mkdir -p "${pkgdir}/usr/lib/python3/dist-packages"
-  echo "$WRAPPER" > "${pkgdir}/usr/lib/python3/dist-packages/youtube_dl.py"
-  chmod 755 "${pkgdir}/usr/lib/python3/dist-packages/youtube_dl.py"
-
   mkdir -p "${pkgdir}/usr/bin"
-  ln -Tfs "/usr/lib/python3/dist-packages/youtube_dl.py" "${pkgdir}/usr/bin/youtube-dl"
+  echo "$WRAPPER" > "${pkgdir}/usr/bin/youtube_dl"
+  chmod 755 "${pkgdir}/usr/bin/youtube_dl"
+
+  mkdir -p "${pkgdir}/usr/lib/python3/dist-packages"
+  ln -Tfs "/usr/lib/python3/dist-packages/yt_dlp" "${pkgdir}/usr/lib/python3/dist-packages/youtube_dl"
 }