makedeb
A lightweight YouTube client for Linux (CLI/GTK)
Click here to go back to the commit logs for youtube-viewer.
Hash: 8078020a66286c0a921492994459e8aa661cf8b4
Message: 3.11.1
diff --git a/.SRCINFO b/.SRCINFO
index a1347b9..72835b7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,8 +2,8 @@ generated-by = makedeb
pkgname = youtube-viewer
pkgbase = youtube-viewer
pkgdesc = A lightweight YouTube client for Linux (CLI/GTK)
-pkgrel = 1
-pkgver = 3.11.0
+pkgrel = 0
+pkgver = 3.11.1
url = https://github.com/trizen/youtube-viewer
arch = all
checkdepends = libjson-perl
@@ -31,8 +31,8 @@ optdepends = vlc: play videos with VLC
optdepends = wget: download videos with wget
optdepends = yt-dlp: play videos with encrypted signatures
optdepends = webp-pixbuf-loader: load webp images
-source = youtube-viewer-3.11.0.tar.gz::https://github.com/trizen/youtube-viewer/archive/refs/tags/3.11.0.tar.gz
-b2sums = ef54119472d9c5b7c04f96bbb4f603e2b35fe5b4c0199f150f020880eaed8f5af1241cfdd4f580d6ac78a72544c234456c6c8ff752d69c9c306f63b42928eaa3
+source = youtube-viewer-3.11.1.tar.gz::https://github.com/trizen/youtube-viewer/archive/refs/tags/3.11.1.tar.gz
+b2sums = ab069dbb627e1df7ab78618321eb46f8d254a8a1ed6da1ef3fbc3063fad1097cd007a692913f130b731317657246abbe1ed0a943205834020eb851d48f036187
checkdepends = libjson-perl
makedepends = libmodule-build-perl
optdepends = ffmpeg: conversions and MKV merging
diff --git a/PKGBUILD b/PKGBUILD
index d3485ca..0e3515c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: Trizen (AUR) <echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>
pkgname=youtube-viewer
-pkgver=3.11.0
-pkgrel=1
+pkgver=3.11.1
+pkgrel=0
pkgdesc="A lightweight YouTube client for Linux (CLI/GTK)"
arch=('all')
url="https://github.com/trizen/${pkgname}"
@@ -12,7 +12,6 @@ conflicts=('youtube-viewer-git')
makedepends=('libmodule-build-perl')
checkdepends=('libjson-perl')
depends=('perl' 'libdata-dump-perl' 'libjson-perl' 'liblwp-protocol-https-perl' 'libgtk3-perl' 'libwww-perl' 'libfile-sharedir-perl' 'libunicode-linebreak-perl')
-
optdepends=(
'ffmpeg: conversions and MKV merging'
'gnome-icon-theme: icons in menus'
@@ -28,9 +27,8 @@ optdepends=(
'yt-dlp: play videos with encrypted signatures'
'webp-pixbuf-loader: load webp images'
)
-
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/trizen/youtube-viewer/archive/refs/tags/${pkgver}.tar.gz")
-b2sums=('ef54119472d9c5b7c04f96bbb4f603e2b35fe5b4c0199f150f020880eaed8f5af1241cfdd4f580d6ac78a72544c234456c6c8ff752d69c9c306f63b42928eaa3')
+b2sums=('ab069dbb627e1df7ab78618321eb46f8d254a8a1ed6da1ef3fbc3063fad1097cd007a692913f130b731317657246abbe1ed0a943205834020eb851d48f036187')
build() {
cd "$pkgname-${pkgver}"
@@ -45,14 +43,17 @@ check(){
package() {
cd "$pkgname-${pkgver}"
perl Build install --destdir "$pkgdir" --installdirs vendor --install_path script=/usr/bin
+ # adjustment
rm -r "$pkgdir/usr/lib"
-
+ # desktop file and image
install -m644 -d "$pkgdir"/usr/share/{applications,pixmaps}
mv "$pkgdir/usr/share/perl5/auto/share/dist/WWW-YoutubeViewer/gtk-youtube-viewer.desktop" \
"$pkgdir"/usr/share/applications/gtk-youtube-viewer.desktop
- install -Dm644 "$pkgdir"/usr/share/perl5/auto/share/dist/WWW-YoutubeViewer/icons/gtk-youtube-viewer.png \
- "$pkgdir"/usr/share/pixmaps/gtk-youtube-viewer.png
-
+ ln -s "/usr/share/perl5/auto/share/dist/WWW-YoutubeViewer/icons/gtk-youtube-viewer.png" \
+ "$pkgdir/usr/share/pixmaps/gtk-youtube-viewer.png"
+ # Convenience symlink
+ ln -s "/usr/bin/gtk-${pkgname}" "$pkgdir/usr/bin/${pkgname}-gtk"
+ # doc
install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/$pkgname/license"
install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/readme"
install -Dm644 "Changes" "$pkgdir/usr/share/doc/$pkgname/changelog"