24 lines
723 B
Bash
24 lines
723 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=python-pyinotify
|
|
pkgver=0.9.6
|
|
pkgrel=3
|
|
pkgdesc="Python module used for monitoring filesystems events with inotify."
|
|
arch=('any')
|
|
url='https://github.com/seb-m/pyinotify'
|
|
license=('Expat')
|
|
depends=('python')
|
|
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/seb-m/pyinotify/archive/${pkgver}.tar.gz")
|
|
sha512sums=('144db691c1cdfd4e52b838b8ed839b8d50d84d26a91a59b7460c3170f58a1c96b3ce4f51e6273835835291781215a87b8f2d2d87d1abf012e4c14b2cd4b3f4cf')
|
|
|
|
build() {
|
|
cd pyinotify-${pkgver}
|
|
python setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd pyinotify-${pkgver}
|
|
python setup.py install --root="${pkgdir}" -O1
|
|
install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/$pkgname
|
|
}
|