blob: dc1bfd0fe9abfe4501177c4e7fe1492409b77b8b (
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
|
# Maintainer: BasioMeusPuga <disgruntled.mob@gmail.com>
pkgname=twitchy-git
_pkgname=twitchy
pkgdesc="CLI streamlink wrapper for twitch.tv"
pkgver=r186.f791609
pkgrel=1
arch=('any')
url="https://github.com/BasioMeusPuga/twitchy"
license=('GPL3')
provides=('twitchy')
conflicts=('twitchy')
depends=('python' 'streamlink' 'python-requests' 'python-setuptools')
makedepends=('git')
source=("git://github.com/basiomeuspuga/${_pkgname}.git")
md5sums=(SKIP)
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
python setup.py build
}
package() {
cd "$srcdir/$_pkgname"
python setup.py install --root="$pkgdir" --optimize=1
}
|