blob: 9be395153a34edc8827846304a1b39f6badd4302 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Sosthène Guédon <dev@peertube-viewer.com>
pkgname=peertube-viewer-rs-bin
__pkgname=peertube-viewer-rs
pkgver=1.8.7
pkgrel=1
pkgdesc="Peertube command line viewer inspired by youtube-viewer"
arch=('x86_64')
url="https://peertube-viewer.com"
license=('AGPL-3.0-or-later')
provides=("peertube-viewer-rs")
conflicts=("peertube-viewer-rs")
depends=(
'gcc-libs'
)
source=("https://peertube-viewer.com/releases/linux/$__pkgname-v$pkgver.tar.gz")
sha256sums=('580f34c3fe5919873d94b73b3655a58246216cdb3031f5e067fbab2cecf65484')
package() {
install -Dm755 peertube-viewer-rs $pkgdir/usr/bin/peertube-viewer-rs
install -Dm644 completions/peertube-viewer-rs.bash $pkgdir/usr/share/bash-completion/completions/peertube-viewer-rs
install -Dm644 peertube-viewer-rs.1 $pkgdir/usr/share/man/man1/peertube-viewer-rs.1
gzip $pkgdir/usr/share/man/man1/peertube-viewer-rs.1
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|