blob: be1452e6e8348058d464f952994b5a1d8be26d41 (
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
|
pkgname='gonchill'
pkgver=1.0.7
pkgrel=1
pkgdesc="A CLI tool for streaming content"
arch=('x86_64')
url="https://github.com/kbwhodat/gonchill"
license=('MIT')
depends=('peerflix')
makedepends=('go' 'git' 'python' 'python-pip' 'mpv' 'vlc')
options=(!debug)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/kbwhodat/gonchill/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('SKIP')
prepare() {
cd "$srcdir/$pkgname"
# Install Python dependencies using pip
python -m pip install setuptools blinker==1.7.0 selenium-profiles --break-system-packages
}
build() {
cd "$srcdir/$pkgname"
go build -o "$pkgname" main.go
}
package() {
cd "$srcdir/$pkgname"
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
}
|