summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c8ce140f105bf851aca8cc6af8ce5a881f9334af (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
32
# Maintainer: atomicfs <https://aur.archlinux.org/account/atomicfs>

pkgname=python-inotifyrecursive
pkgver=0.3.5
pkgrel=4
pkgdesc="Simple recursive inotify watches for Python"
arch=('any')
url="https://github.com/letorbi/inotifyrecursive"
license=('LGPL-3.0-only')
depends=(
  'python'
  'python-inotify-simple'
)
makedepends=(
  'git'
  'python-build'
  'python-installer'
  'python-setuptools'
  'python-wheel'
)
source=("${pkgname}::git+${url}#tag=${pkgver}")
sha512sums=('SKIP')

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

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