blob: f9dc9d19b57df396fb702e94dec727dbc0b77396 (
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
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Hunter Peavey < vrywjvgviuotxeioqipx at disroot dot org >
# General package information
pkgname=wtwitch
pkgver=1.4.1
pkgrel=1
pkgdesc="Terminal user interface for Twitch"
url="https://git.sr.ht/~krathalan/wtwitch"
license=("GPL3")
arch=("any")
changelog="CHANGELOG"
# Dependencies
depends=("jq" "streamlink" "wget")
makedepends=("scdoc")
optdepends=('mpv: for watching streams'
'vlc: for watching streams')
# Download information
_packagesig="${url}/blob/master/signatures/${pkgver}.tar.gz.sig"
source=("${url}/archive/${pkgver}.tar.gz" "${_packagesig}")
validpgpkeys=("02AAA23ABDF1D538BD889D251AADE5E728FFC667")
sha256sums=("23305af21a14cf5f95c510b1039052b981327062ad6ace92dbaaedf9148fd7de" "d7d8c9be0ad8ad6f8b941e3fac60d0c103cf92d431c7f2b11ed12534a9b58e99")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Create man page
scdoc < wtwitch.1.scd > wtwitch.1
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
# wtwitch "binary"
install -D -m755 wtwitch "${pkgdir}/usr/bin/${pkgname}"
# man page
install -D -m644 wtwitch.1 "${pkgdir}/usr/share/man/man1/wtwitch.1"
}
|