summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fbc9bf4380997a6d855744620071fad3ad6e7f40 (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
# Maintainer: Jason McGillivray < mcgillivray dot jason at gmail dot com>


pkgname=py3status-http-monitor
pkgdesc="Python module for py3status to monitor http services"
pkgver=0.1.5
pkgrel=1
arch=('any')
license=('MIT')
depends=('python' 'py3status' 'python-poetry' 'python-build' 'python-installer')
makedepends=('python-setuptools')
url="https://github.com/mcgillij/py3status-http-monitor"
source=("https://github.com/mcgillij/py3status-http-monitor/releases/download/$pkgver/py3status_http_monitor-$pkgver.tar.gz")
md5sums=('13b5f03931ed4dc2ba11146c34197945')

build() {
  cd "$srcdir/py3status_http_monitor-$pkgver"
  python -m build --wheel --no-isolation
}

package() {
  cd "$srcdir/py3status_http_monitor-$pkgver"
  python -m installer --destdir="$pkgdir" dist/*.whl
}