blob: 616740c30c00f66236a29a21cf0f7e35874bbd85 (
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: Giedrius Statkevičius <giedrius.statkevicius@gmail.com>
pkgname=twitchnotifier-git
pkgver=20201013
pkgrel=1
pkgdesc='A tool that sits in the background and notifies you using libnotify if a channel you follow comes online or goes offline'
arch=('any')
url='https://github.com/GiedriusS/TwitchNotifier'
license=('GPL3')
depends=('python-requests' 'libnotify' 'python-gobject')
makedepends=('git')
source=(git+https://github.com/GiedriusS/TwitchNotifier.git)
md5sums=('SKIP')
install=TwitchNotifier.install
pkgver() {
cd TwitchNotifier
git log -1 --format='%cd' --date=short | tr -d -- '-'
}
build() {
cd TwitchNotifier
python setup.py build
}
package() {
cd TwitchNotifier
python setup.py install --root="$pkgdir" --optimize=1
mkdir -p "$pkgdir"/usr/share/doc/TwitchNotifier
install -m644 twitchnotifier.cfg "$pkgdir"/usr/share/doc/TwitchNotifier
}
|