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: 6526fb9a3e4b519a8b3d7215bc8b12a95a433f8c
Message: Initial stable release 0.0.4
diff --git a/.SRCINFO b/.SRCINFO
index 5383562..29bf7ed 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,11 @@
generated-by = makedeb
-pkgname = lbry-viewer-git
-pkgbase = lbry-viewer-git
+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.4.r0.g6db5fa2
+pkgrel = 0
+pkgver = 0.0.4
url = https://github.com/trizen/lbry-viewer
arch = all
-conflicts = lbry-viewer
-conflicts = gtk-lbry-viewer
depends = perl
depends = libdata-dump-perl
depends = libjson-perl
@@ -19,7 +17,6 @@ depends = libunicode-linebreak-perl
depends = webp-pixbuf-loader
depends = yt-dlp
license = Artistic2.0
-makedepends = git
makedepends = libmodule-build-perl
optdepends = gnome-icon-theme: icons in menus
optdepends = libjson-xs-perl: faster JSON parsing
@@ -28,10 +25,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
-provides = gtk-lbry-viewer-git
-source = git+https://github.com/trizen/lbry-viewer.git
-sha512sums = SKIP
-makedepends = git
+source = lbry-viewer-0.0.4.tar.gz::https://github.com/trizen/lbry-viewer/archive/refs/tags/0.0.4.tar.gz
+b2sums = e8c7f0553989030798f76e79fdd5904232640ded1b6d31906fc21a6d36b0d9a31ddffcece74d33765536c34ed2c46a53dca5a279c1a1d87bc4d9731f4468c5d5
makedepends = libmodule-build-perl
optdepends = gnome-icon-theme: icons in menus
optdepends = libjson-xs-perl: faster JSON parsing
diff --git a/PKGBUILD b/PKGBUILD
index 3b21a4e..f67c938 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,14 @@
# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
# Contributor: Trizen (AUR) <echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>
-_pkgname=lbry-viewer
-pkgname=lbry-viewer-git
-pkgver=0.0.4.r0.g6db5fa2
-pkgrel=1
+pkgname=lbry-viewer
+pkgver=0.0.4
+pkgrel=0
pkgdesc="A lightweight LBRY/Odysee client for Linux (CLI/GTK) (fork of pipe-viewer)"
arch=('all')
-url="https://github.com/trizen/${_pkgname}"
+url="https://github.com/trizen/${pkgname}"
license=('Artistic2.0')
-makedepends=('git' 'libmodule-build-perl')
-provides=('gtk-lbry-viewer-git')
-conflicts=('lbry-viewer' 'gtk-lbry-viewer')
+makedepends=('libmodule-build-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')
@@ -25,27 +22,21 @@ optdepends=(
'mpv: play videos with MPV (recommended)'
'vlc: play videos with VLC'
)
-
-source=("git+https://github.com/trizen/${_pkgname}.git")
-sha512sums=('SKIP')
-
-pkgver() {
- cd "$_pkgname"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
-}
+source=("$pkgname-$pkgver.tar.gz::https://github.com/trizen/lbry-viewer/archive/refs/tags/$pkgver.tar.gz")
+b2sums=('e8c7f0553989030798f76e79fdd5904232640ded1b6d31906fc21a6d36b0d9a31ddffcece74d33765536c34ed2c46a53dca5a279c1a1d87bc4d9731f4468c5d5')
build() {
- cd "$_pkgname"
+ cd "$pkgname-$pkgver"
perl Build.PL --gtk3
}
check(){
- cd "$_pkgname"
+ cd "$pkgname-$pkgver"
perl Build test
}
package() {
- cd "$_pkgname"
+ cd "$pkgname-$pkgver"
perl Build install --destdir "$pkgdir" --installdirs vendor --install_path script=/usr/bin
rm -r "$pkgdir/usr/lib"
@@ -55,8 +46,8 @@ package() {
install -Dm644 "$pkgdir"/usr/share/perl5/auto/share/dist/WWW-LbryViewer/icons/gtk-lbry-viewer.png \
"$pkgdir"/usr/share/pixmaps/gtk-lbry-viewer.png
- 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"
- gzip "$pkgdir/usr/share/doc/$_pkgname/changelog"
+ 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"
+ gzip "$pkgdir/usr/share/doc/$pkgname/changelog"
}