makedeb
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.
Hash: 2a7e693fe1df643998c9665452d65e65ef0f3ce2
Message: version update
diff --git a/.SRCINFO b/.SRCINFO
index b9bb9b7..8c01a51 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb-makepkg
pkgbase = ytfzf
pkgdesc = A posix script to find and watch youtube videos from the terminal Without API
- pkgver = 1.2.0
+ pkgver = 2.0
pkgrel = 1
url = https://github.com/pystardust/ytfzf
arch = any
@@ -17,7 +17,7 @@ pkgbase = ytfzf
optdepends = ueberzug: thumbnails image preview
provides = ytfzf
conflicts = ytfzf
- source = https://github.com/pystardust/ytfzf/archive/v1.2.0.tar.gz
- sha256sums = 244205d59f4fbab30c87740b7181c387a1892e23d8e20a034adcfaa686130fa7
+ source = https://github.com/pystardust/ytfzf/archive/v2.0.tar.gz
+ sha512sums = 43c43b6a446335a7eef9d206864069df1e075d49151b359ead47de6e7234efc1042ce0557233e53c303d3c38572fd33a955e229c457561211250ddd0df5ccb0e
pkgname = ytfzf
diff --git a/PKGBUILD b/PKGBUILD
index 8cf63ca..295cbde 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: only_vip <onlyme_vip@protonmail.com>
pkgname=ytfzf
-pkgver=1.2.0
+pkgver=2.0
pkgrel=1
pkgdesc="A posix script to find and watch youtube videos from the terminal Without API"
arch=('any')
@@ -18,9 +18,20 @@ optdepends=(
'ueberzug: thumbnails image preview '
)
source=("https://github.com/pystardust/ytfzf/archive/v${pkgver}.tar.gz")
-sha256sums=("244205d59f4fbab30c87740b7181c387a1892e23d8e20a034adcfaa686130fa7")
+sha512sums=("43c43b6a446335a7eef9d206864069df1e075d49151b359ead47de6e7234efc1042ce0557233e53c303d3c38572fd33a955e229c457561211250ddd0df5ccb0e")
package() {
cd "$srcdir/${pkgname}-${pkgver}"
- make DESTDIR="$pkgdir/" install
+ 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}"
+
}