makedeb


pipe-viewer 0.5.3-0


A lightweight YouTube client for Linux (CLI/GTK) (fork of straw-viewer)

Click here to go back to the commit logs for pipe-viewer.

Commit:


Hash: b6eb531a33c47588750b60d3440168b9f7a8962b

Message: 0.5.0

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 9a49324..97365b5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ pkgname = pipe-viewer
 pkgbase = pipe-viewer
 pkgdesc = A lightweight YouTube client for Linux (CLI/GTK) (fork of straw-viewer)
 pkgrel = 0
-pkgver = 0.4.9
+pkgver = 0.5.0
 url = https://github.com/trizen/pipe-viewer
 arch = all
 checkdepends = libjson-perl
@@ -29,8 +29,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 = pipe-viewer-0.4.9.tar.gz::https://github.com/trizen/pipe-viewer/archive/refs/tags/0.4.9.tar.gz
-b2sums = ef673f78d1a0c4875af36ef10ec768be433b11dd9ba32a6aef40d65455bb652558e0c4b583827b3059edecbd5d3471377c245af0b1d4961853031c603b372a49
+source = pipe-viewer-0.5.0.tar.gz::https://github.com/trizen/pipe-viewer/archive/refs/tags/0.5.0.tar.gz
+b2sums = c404be81ab145a24d542ecbec4b79bd546d48ae5d882d4940cd77d35f7b13a7b44827046933a9c400bfa2eb610409a48e7684689f03a2b3b2c4ca40916da227a
 checkdepends = libjson-perl
 makedepends = libmodule-build-perl
 optdepends = ffmpeg: conversions and MKV merging
diff --git a/PKGBUILD b/PKGBUILD
index a084f3e..0341bc4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Contributor: Trizen (AUR) <echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>
 
 pkgname=pipe-viewer
-pkgver=0.4.9
+pkgver=0.5.0
 pkgrel=0
 pkgdesc="A lightweight YouTube client for Linux (CLI/GTK) (fork of straw-viewer)"
 arch=('all')
@@ -12,7 +12,6 @@ conflicts=('pipe-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'
@@ -27,7 +26,7 @@ optdepends=(
     'webp-pixbuf-loader: load webp images'
 )
 source=("$pkgname-$pkgver.tar.gz::https://github.com/trizen/pipe-viewer/archive/refs/tags/$pkgver.tar.gz")
-b2sums=('ef673f78d1a0c4875af36ef10ec768be433b11dd9ba32a6aef40d65455bb652558e0c4b583827b3059edecbd5d3471377c245af0b1d4961853031c603b372a49')
+b2sums=('c404be81ab145a24d542ecbec4b79bd546d48ae5d882d4940cd77d35f7b13a7b44827046933a9c400bfa2eb610409a48e7684689f03a2b3b2c4ca40916da227a')
 
 build() {
     cd "$pkgname-$pkgver"
@@ -42,14 +41,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-PipeViewer/gtk-pipe-viewer.desktop \
         "$pkgdir"/usr/share/applications/gtk-pipe-viewer.desktop
-    install -Dm644 "$pkgdir"/usr/share/perl5/auto/share/dist/WWW-PipeViewer/icons/gtk-pipe-viewer.png \
-        "$pkgdir"/usr/share/pixmaps/gtk-pipe-viewer.png
-
+    ln -s "/usr/share/perl5/auto/share/dist/WWW-PipeViewer/icons/gtk-pipe-viewer.png" \
+        "$pkgdir/usr/share/pixmaps/gtk-pipe-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"