blob: 34252a75a6668b65c92315217e499a779c3bed9e (
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
|
# Maintainer: seth <getchoo at tuta dot io>
pkgname=spongebob-cli-git
pkgver=r109.4cc8c51
pkgrel=1
pkgdesc="Watch classic spongebob from the terminal!"
arch=(any)
url="https://github.com/trakBan/spongebob-cli"
license=('GPL-3.0-only')
depends=('python-requests' 'python-beautifulsoup4' 'python-prettytable')
makedepends=('git' 'python-setuptools')
optdepends=('mpv: default video player'
'wget: default video downloader')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("${pkgname%-git}::git+${url}#branch=main")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
python setup.py build
}
package() {
cd "$srcdir/${pkgname%-git}"
python3 setup.py install --root="${pkgdir}" --optimize=1
}
# vim: set ts=2 sw=2 et:
|