Seqularise

python-musicbrainzngs 266

Jul 10th, 2022
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. # Maintainer: Maxime Gauduin <[email protected]>
  2. # Contributor: Adrian Sampson <[email protected]>
  3.  
  4. pkgname=python-musicbrainzngs
  5. pkgver=20220707.g1ee920c5562f2570c78af1f4f91b139eea7513ed
  6. pkgrel=1
  7. pkgdesc="Python bindings for Musicbrainz' NGS webservice"
  8. arch=(any)
  9. url=https://github.com/alastair/python-musicbrainzngs
  10. license=(BSD)
  11. depends=(python)
  12. makedepends=(
  13. git
  14. python-setuptools
  15. )
  16. source=(git+https://github.com/alastair/python-musicbrainzngs.git#commit=1ee920c5562f2570c78af1f4f91b139eea7513ed)
  17. sha256sums=(SKIP)
  18.  
  19. pkgver() {
  20. cd $pkgname
  21. date +"%Y%m%d"."g$(git rev-parse HEAD)"
  22. }
  23.  
  24. build() {
  25. cd python-musicbrainzngs
  26.  
  27. python setup.py build
  28. }
  29.  
  30. package() {
  31. cd python-musicbrainzngs
  32.  
  33. python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
  34. install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/python-musicbrainzngs/
  35. }
  36.  
  37. # vim: ts=2 sw=2 et:
  38.  
Advertisement
Add Comment
Please, Sign In to add comment