blob: 0d9640f60abbddfc7513cc1d8c5cd101901f8509 (
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
|
# Maintainer: Jason McGillivray < mcgillivray dot jason at gmail dot com>
pkgname=py3status-github-notifications
poetryname=py3status_github_notifications
pkgdesc="Python module for py3status to keep track of your Github notifications."
pkgver=0.1.15
pkgrel=1
arch=('any')
license=('MIT')
depends=('py3status' 'python' 'python-pygithub')
makedepends=('python-build' 'python-poetry' 'python-installer')
url="https://github.com/mcgillij/py3status-github-notifications"
#source=("py3status_github_notifications-$pkgver.tar.gz")
source=("https://github.com/mcgillij/py3status-github-notifications/releases/download/$pkgver/py3status_github_notifications-$pkgver.tar.gz")
md5sums=('72673db07b04c248b77c432ac188fa6a')
build() {
cd "$srcdir/$poetryname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$poetryname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|