diff options
author | Jelle van der Waa | 2021-11-13 14:25:07 +0000 |
---|---|---|
committer | Jelle van der Waa | 2021-11-13 14:25:07 +0000 |
commit | abb8751e89346bd08c16b5fda8bf3209b3c9eed5 (patch) | |
tree | 53f42a3c65471c5463595d1f8aeae2d85df4c84e | |
parent | f2c2aabdbf3483e0ab298ba392d6d04c181d8e76 (diff) | |
download | aur-abb8751e89346bd08c16b5fda8bf3209b3c9eed5.tar.gz |
upgpkg: 2.0.2-2
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 5 insertions, 14 deletions
@@ -1,29 +1,20 @@ # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org> # Contributor: Anthony25 <Anthony Ruhier> -pkgbase=python-selectors2 -pkgname=('python2-selectors2' 'python-selectors2') +pkgname=python-selectors2 pkgver=2.0.2 -pkgrel=1 +pkgrel=2 arch=('any') +pkgdesc='Backported, durable, and portable selectors.' url='https://github.com/SethMichaelLarson/selectors2' license=('MIT') -makedepends=('python-setuptools' 'python2-setuptools') +makedepends=('python-setuptools') source=($pkgbase-$pkgver.tar.gz::https://github.com/SethMichaelLarson/selectors2/archive/$pkgver.tar.gz) sha256sums=('43e80168bec134ada813d4126b8eac071450bad8ec1bbdd91ec6481050dbc87e') -package_python-selectors2() { - pkgdesc='Backported, durable, and portable selectors.' +package() { cd "${srcdir}"/selectors2-$pkgver python setup.py install --root="${pkgdir}" --optimize=1 install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE } - -package_python2-selectors2() { - pkgdesc='Backported, durable, and portable selectors.' - cd "${srcdir}"/selectors2-$pkgver - - python2 setup.py install --root="${pkgdir}" --optimize=1 - install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE -} |