makedeb
A lightweight YouTube client for Linux (CLI/GTK) (fork of straw-viewer)
Click here to go back to the commit logs for pipe-viewer.
Hash: f2cb1dcf80d4f91a4c30f187c599ffacf85ea60e
Message: Initial stable release 0.2.3
diff --git a/.SRCINFO b/.SRCINFO
index e0c3296..2c8cf2a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,11 @@
generated-by = makedeb
-pkgname = pipe-viewer-git
-pkgbase = pipe-viewer-git
+pkgname = pipe-viewer
+pkgbase = pipe-viewer
pkgdesc = A lightweight YouTube client for Linux (CLI/GTK) (fork of straw-viewer)
-pkgrel = 1
-pkgver = 0.2.3.r0.g64f14fc
+pkgrel = 0
+pkgver = 0.2.3
url = https://github.com/trizen/pipe-viewer
arch = all
-conflicts = pipe-viewer
-conflicts = gtk-pipe-viewer
depends = perl
depends = libdata-dump-perl
depends = libjson-perl
@@ -31,9 +29,8 @@ optdepends = wget: download videos with wget
optdepends = youtube-dl: play videos with encrypted signatures
optdepends = yt-dlp: play videos with encrypted signatures
optdepends = webp-pixbuf-loader: load webp images
-provides = gtk-pipe-viewer-git
-source = git+https://github.com/trizen/pipe-viewer.git
-sha512sums = SKIP
+source = pipe-viewer-0.2.3.tar.gz::https://github.com/trizen/pipe-viewer/archive/refs/tags/0.2.3.tar.gz
+b2sums = 12bbf87c1922c3f13f2f578f1b20ccc2dda96a9a97a2efaf850ff4395ae280a63f3d1719760ee503be5dec8ba1118cecb890ef6434cb953edfb1c83d4e553460
makedepends = git
makedepends = libmodule-build-perl
optdepends = ffmpeg: conversions and MKV merging
diff --git a/PKGBUILD b/PKGBUILD
index f6d1535..8f8f2fe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,14 @@
# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
# Contributor: Trizen (AUR) <echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>
-_pkgname=pipe-viewer
-pkgname=pipe-viewer-git
-pkgver=0.2.3.r0.g64f14fc
-pkgrel=1
+pkgname=pipe-viewer
+pkgver=0.2.3
+pkgrel=0
pkgdesc="A lightweight YouTube client for Linux (CLI/GTK) (fork of straw-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-pipe-viewer-git')
-conflicts=('pipe-viewer' 'gtk-pipe-viewer')
depends=('perl' 'libdata-dump-perl' 'libjson-perl' 'liblwp-protocol-https-perl' 'libgtk3-perl' 'libwww-perl' 'libfile-sharedir-perl' 'libunicode-linebreak-perl')
optdepends=(
@@ -28,27 +25,21 @@ optdepends=(
'yt-dlp: play videos with encrypted signatures'
'webp-pixbuf-loader: load webp images'
)
-
-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/pipe-viewer/archive/refs/tags/$pkgver.tar.gz")
+b2sums=('12bbf87c1922c3f13f2f578f1b20ccc2dda96a9a97a2efaf850ff4395ae280a63f3d1719760ee503be5dec8ba1118cecb890ef6434cb953edfb1c83d4e553460')
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"
@@ -58,8 +49,8 @@ package() {
install -Dm644 "$pkgdir"/usr/share/perl5/auto/share/dist/WWW-PipeViewer/icons/gtk-pipe-viewer.png \
"$pkgdir"/usr/share/pixmaps/gtk-pipe-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"
}