You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
905B

  1. # Maintainer: Alison Watson <marrub@greyserv.net>
  2. _pkgname=bsnes-plus
  3. pkgname=${_pkgname}-git
  4. pkgver=0.73r525.b95f6bc
  5. pkgrel=1
  6. pkgdesc='A debug-oriented fork of bsnes v073'
  7. arch=('x86_64')
  8. url="https://github.com/devinacker/${_pkgname}"
  9. license=('GPL3')
  10. depends=('libao' 'libpulse' 'openal' 'qt5-base' 'sdl')
  11. makedepends=('mesa' 'gcc' 'git')
  12. source=("git+${url}.git")
  13. sha256sums=('SKIP')
  14. conflicts=('bsnes-plus' 'bsnes-classic' 'bsnes-plus-git')
  15. provides=('bsnes-plus')
  16. _projects=(bsnes snesfilter snesmusic snesreader supergameboy)
  17. pkgver() {
  18. cd "${srcdir}/${_pkgname}"
  19. printf "0.73r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  20. }
  21. build() {
  22. for proj in ${_projects}
  23. do
  24. cd "${srcdir}/${_pkgname}/${proj}"
  25. make
  26. done
  27. }
  28. package() {
  29. cd "${srcdir}/${_pkgname}"
  30. for proj in ${_projects}
  31. do
  32. cd "${srcdir}/${_pkgname}/${proj}"
  33. make install DESTDIR="${pkgdir}"
  34. done
  35. }