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: ca29f7806d1418ab214d8f06cfe2510a455a891c

Message: minor

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 1c52570..9efcb29 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
 pkgname = yt-dlp-drop-in
 pkgbase = yt-dlp-drop-in
 pkgdesc = Emulate youtube-dl executables and modules with yt-dlp
-pkgrel = 0
+pkgrel = 1
 pkgver = 2.1.1
 arch = all
 conflicts = youtube-dl
diff --git a/PKGBUILD b/PKGBUILD
index a84b45f..1962b6f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=yt-dlp-drop-in
 pkgver=2.1.1
-pkgrel=0
+pkgrel=1
 pkgdesc='Emulate youtube-dl executables and modules with yt-dlp'
 arch=('all')
 license=('MIT')
@@ -14,7 +14,7 @@ conflicts=('youtube-dl')
 
 package() {
 
-WRAPPER="#!/usr/bin/python3
+_WRAPPER="#!/usr/bin/python3
 
 import sys
 from yt_dlp import *
@@ -28,7 +28,7 @@ if __name__ == '__main__':
     main(args)"
 
   mkdir -p "${pkgdir}/usr/bin"
-  echo "$WRAPPER" > "${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"