blob: 7ec259adadfd47fc5ea1e284168e0eca5e258988 (
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
|
# Maintainer: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
pkgname=twitch-cli-bin
pkgver=1.1.24
_filename="twitch-cli_${pkgver}_Linux_x86_64.tar.gz"
pkgrel=1
pkgdesc='The official Twitch CLI to make developing on Twitch easier.'
arch=('x86_64')
url=https://github.com/twitchdev/twitch-cli
license=('Apache')
source=("https://github.com/twitchdev/twitch-cli/releases/download/v${pkgver}/$_filename")
sha256sums=('9cae4e9cd52e66fb4dda6b633b3276a4450a28a83dea7a4651a42a67372eed8f')
prepare () {
cd "$srcdir"
tar xzf "$_filename"
}
package() {
cd "$srcdir/twitch-cli_${pkgver}_Linux_x86_64"
install -Dm755 twitch "$pkgdir/usr/bin/twitch"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|