diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -1,16 +1,23 @@ # Maintainer: Juliette Monsel <j_4321 at protonmail dot com> pkgname=('python-pynput' 'python2-pynput') pkgver=1.4.4 -pkgrel=1 +pkgrel=2 _name=pynput pkgdesc="Python library to monitor and control user input devices" arch=('any') url="https://github.com/moses-palmer/pynput" license=('LGPL3') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/moses-palmer/${_name}/archive/v${pkgver}.tar.gz") -sha512sums=('6145aa134e15dcfcaf04ec65c8c05a07b457a78030f8bfed44620bc2590773d3be4707ae619c1afdcb25f0587faf0c8aa932cc0af53aaa999d634f68ce4e5193') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/moses-palmer/${_name}/archive/v${pkgver}.tar.gz" + "python-pynput.patch") +sha512sums=('6145aa134e15dcfcaf04ec65c8c05a07b457a78030f8bfed44620bc2590773d3be4707ae619c1afdcb25f0587faf0c8aa932cc0af53aaa999d634f68ce4e5193' + 'fd25744095c3201335cf601ec7e514f4bb2943de777849b2e821168d4e61098ecc355cfa13eb07ede7c1b91fe63f694a1dd42b13b5d4b8796a593aa5acf908b9') makedepends=('python-setuptools' 'python2-setuptools') +prepare() { + cd "${srcdir}/${_name}-${pkgver}" + patch -Np1 -i "${srcdir}/python-pynput.patch" +} + build() { cd "$srcdir/${_name}-${pkgver}" python setup.py build |