makedeb
A lightweight LBRY/Odysee client for Linux (CLI/GTK) (fork of pipe-viewer)
Click here to go back to the commit logs for lbry-viewer.
Hash: 1db8c01763ffb6134d48fb61fde2deb1c2ba5077
Message: 0.1.0
diff --git a/.SRCINFO b/.SRCINFO
index 91fcd49..09726d9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ pkgname = lbry-viewer
pkgbase = lbry-viewer
pkgdesc = A lightweight LBRY/Odysee client for Linux (CLI/GTK) (fork of pipe-viewer)
pkgrel = 1
-pkgver = 0.0.9
+pkgver = 0.1.0
url = https://github.com/trizen/lbry-viewer
arch = all
checkdepends = libjson-perl
@@ -27,8 +27,8 @@ optdepends = libterm-readline-gnu-perl: better STDIN support
optdepends = libtext-charwidth-perl: get widths of characters
optdepends = mpv: play videos with MPV (recommended)
optdepends = vlc: play videos with VLC
-source = lbry-viewer-0.0.9.tar.gz::https://github.com/trizen/lbry-viewer/archive/refs/tags/0.0.9.tar.gz
-b2sums = b79279224aa910b81732914a601caec00e5b11816593fc2479ceff1c4ca79699aef666d1d5dbdbec5d65e1a05e4e95a1584a13af5fc9457b868662befea4a9f5
+source = lbry-viewer-0.1.0.tar.gz::https://github.com/trizen/lbry-viewer/archive/refs/tags/0.1.0.tar.gz
+b2sums = 4def149b71596eef918d11831c66f750416a17b51a897876c9fd17f63eb1612e545e70cde10f1d52baf510051e6b19a72e55ceb43c5a3bf4950405f6f9f0688a
checkdepends = libjson-perl
makedepends = libmodule-build-perl
optdepends = gnome-icon-theme: icons in menus
diff --git a/PKGBUILD b/PKGBUILD
index 0e6a9b5..2e926ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Trizen (AUR) <echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>
pkgname=lbry-viewer
-pkgver=0.0.9
+pkgver=0.1.0
pkgrel=1
pkgdesc="A lightweight LBRY/Odysee client for Linux (CLI/GTK) (fork of pipe-viewer)"
arch=('all')
@@ -13,7 +13,6 @@ 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' 'webp-pixbuf-loader' 'yt-dlp')
-
optdepends=(
#'ffmpeg: conversions and MKV merging'
'gnome-icon-theme: icons in menus'
@@ -25,7 +24,7 @@ optdepends=(
'vlc: play videos with VLC'
)
source=("$pkgname-$pkgver.tar.gz::https://github.com/trizen/lbry-viewer/archive/refs/tags/$pkgver.tar.gz")
-b2sums=('b79279224aa910b81732914a601caec00e5b11816593fc2479ceff1c4ca79699aef666d1d5dbdbec5d65e1a05e4e95a1584a13af5fc9457b868662befea4a9f5')
+b2sums=('4def149b71596eef918d11831c66f750416a17b51a897876c9fd17f63eb1612e545e70cde10f1d52baf510051e6b19a72e55ceb43c5a3bf4950405f6f9f0688a')
build() {
cd "$pkgname-$pkgver"
@@ -40,14 +39,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-LbryViewer/gtk-lbry-viewer.desktop \
"$pkgdir"/usr/share/applications/gtk-lbry-viewer.desktop
- install -Dm644 "$pkgdir"/usr/share/perl5/auto/share/dist/WWW-LbryViewer/icons/gtk-lbry-viewer.png \
- "$pkgdir"/usr/share/pixmaps/gtk-lbry-viewer.png
-
+ ln -s "/usr/share/perl5/auto/share/dist/WWW-LbryViewer/icons/gtk-lbry-viewer.png" \
+ "$pkgdir/usr/share/pixmaps/gtk-lbry-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"