yochananmarqos

python-clickgen 1.1.7

Feb 18th, 2021
158
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=python-clickgen
  2. _name=${pkgname#python-}
  3. pkgver=1.1.7
  4. pkgrel=1
  5. pkgdesc="X11 & Windows cursor building API"
  6. arch=('any')
  7. url="https://github.com/ful1e5/clickgen"
  8. license=('MIT')
  9. depends=('python-pillow' 'libx11' 'libxcursor' 'libpng')
  10. makedepends=('python-setuptools' 'python-pip')
  11. source=("https://pypi.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz")
  12. sha256sums=('5aaaedd34d7115976db9b82e1d57492d7aceedd5c00a43155d86cbb11073444e')
  13.  
  14. build() {
  15.     cd "$_name-$pkgver"
  16.     python setup.py build
  17. }
  18.  
  19. package() {
  20.     cd "$_name-$pkgver"
  21.     export PYTHONHASHSEED=0
  22.     python setup.py install --root="$pkgdir" --optimize=1 --skip-build
  23.  
  24.     install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
  25. }
RAW Paste Data