makedeb


ytfzf 2.6.2-1


A posix script to find and watch youtube videos from the terminal Without API

Click here to go back to the commit logs for ytfzf.

Commit:


Hash: 5f8440b5f31fc7eb702e1afd95210cf6be904f91

Message: version update

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 60f6d03..85b91e4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,8 +2,8 @@ generated-by = makedeb-makepkg
 
 pkgbase = ytfzf
 	pkgdesc = A posix script to find and watch youtube videos from the terminal Without API
-	pkgver = 2.1
-	pkgrel = 3
+	pkgver = 2.2
+	pkgrel = 1
 	url = https://github.com/pystardust/ytfzf
 	arch = any
 	license = GPL3
@@ -17,7 +17,7 @@ pkgbase = ytfzf
 	optdepends = yt-dlp: to download videos
 	provides = ytfzf
 	conflicts = ytfzf
-	source = https://github.com/pystardust/ytfzf/archive/v2.1.tar.gz
-	sha512sums = a86203bc1dffd05ff3543c44d5612bc8b0ffc675ce0484499cb89aa88c2618c88e832dd95ff2cd6f1803698c1c3264709a1e280ddbb9fb0985c0178f3adc16ea
+	source = https://github.com/pystardust/ytfzf/archive/v2.2.tar.gz
+	sha512sums = 9f47da0e56d096d248b14387c3e34f11cc101fa958945e17bdee83d81c2da57faf384fe87d46132e4cc78a5f4f6057462e28c1a64ea647a98120c37ed4e7f50d
 
 pkgname = ytfzf
diff --git a/PKGBUILD b/PKGBUILD
index 410a795..1b0f896 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: only_vip <onlyme_vip@protonmail.com>
 pkgname=ytfzf
-pkgver=2.1
-pkgrel=3
+pkgver=2.2
+pkgrel=1
 pkgdesc="A posix script to find and watch youtube videos from the terminal Without API"
 arch=('any')
 url="https://github.com/pystardust/ytfzf"
@@ -19,20 +19,12 @@ optdepends=(
      'yt-dlp: to download videos'
 )
 source=("https://github.com/pystardust/ytfzf/archive/v${pkgver}.tar.gz")
-sha512sums=('a86203bc1dffd05ff3543c44d5612bc8b0ffc675ce0484499cb89aa88c2618c88e832dd95ff2cd6f1803698c1c3264709a1e280ddbb9fb0985c0178f3adc16ea')
+sha512sums=("9f47da0e56d096d248b14387c3e34f11cc101fa958945e17bdee83d81c2da57faf384fe87d46132e4cc78a5f4f6057462e28c1a64ea647a98120c37ed4e7f50d")
 
 package() {
     cd "$srcdir/${pkgname}-${pkgver}"
-    make DESTDIR="$pkgdir/" install 
-
-	gzip -c docs/man/ytfzf.1 > docs/man/ytfzf.1.gz
-	gzip -c docs/man/ytfzf.5 > docs/man/ytfzf.5.gz
-	install -Dm644 "docs/man/${pkgname}.1.gz" "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz"
-	install -Dm644 "docs/man/${pkgname}.5.gz" "${pkgdir}/usr/share/man/man5/${pkgname}.5.gz"
-
-    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-    cd docs
-    install -dm0755 "${pkgdir}/usr/share/doc/${pkgname}"
-    install -Dm644 conf.sh "${pkgdir}/usr/share/doc/${pkgname}"
-
+    prefix="/usr"
+        make  PREFIX="/usr" \
+        DESTDIR="$pkgdir/"  \
+        install "doc" "addons"
 }