blob: 8d8485b96bc93bfbcd782ceced8bb19429ce54d9 (
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
|
# Maintainer: buzz
# Contributor: dude <brrtsm-AT-gmail-DOT-com>
pkgname=twitch-indicator
_gitname=twitch-indicator
pkgver=0.28.r0.g8175c76
pkgrel=1
pkgdesc="Twitch.tv indicator for Linux. Tracks your followed channels and notifies when they go live."
arch=("any")
url="https://github.com/buzz/twitch-indicator"
license=("ZLIB")
depends=("python3" "python-gobject" "desktop-file-utils" "libappindicator-gtk3")
makedepends=("git")
options=(!emptydirs)
source=("git+https://github.com/buzz/twitch-indicator.git")
md5sums=("SKIP")
pkgver() {
cd "${_gitname}"
git describe --long --tags | sed 's/-/.r/;s/-/./'
}
package() {
cd "${_gitname}"
python3 setup.py install --root="${pkgdir}/" --optimize=1
cd "${pkgdir}/usr/bin"
ln -s "${pkgname}.py" "${pkgname}"
}
# vim:set ts=2 sw=2 et:
|