summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9884e71def6000f50788e725e755e89ce2029313 (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
33
34
# Maintainer: ValHue <vhuelamo at gmail dot com>
#
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Evangelos Foutras <foutrelis@gmail.com>
#
_pkgname="pyinotify"
pkgname="python2-${_pkgname}"
pkgver="0.9.6"
pkgrel="7"
pkgdesc='Python module used for monitoring filesystems events on Linux platforms with inotify.'
arch=('any')
url="https://github.com/seb-m/pyinotify"
license=('custom:MIT')
depends=('python2')
makedepends=('python2')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('7943f198c5cef2bdc121d847937fbe565daaa7d4daaf1b8de8ef5689812f481c')

build() {
    cd ${_pkgname}-$pkgver
    python2 setup.py build
}

package() {
    cd ${_pkgname}-$pkgver
    python2 setup.py install --root=${pkgdir} -O1

    install -d ${pkgdir}/usr/share/licenses/${pkgname}
    install -m644 COPYING \
        ${pkgdir}/usr/share/licenses/${pkgname}
}

# vim: set ts=4 sw=4 et syn=sh ft=sh: