-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
25 lines (22 loc) · 905 Bytes
/
PKGBUILD
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.14
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=('6deaff3f68e2d2f3246b8e5d3086b8c1')
build() {
cd "$srcdir/$poetryname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$poetryname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}