Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. # Maintainer: Anton Yermalovich <anton dork yermalovich art gmail dork com>
  2. pkgname=sunvox
  3. pkgver=1.9b
  4. pkgrel=1
  5. pkgdesc="Small, fast and powerful modular synthesizer with pattern-based sequencer (tracker)."
  6. arch=('i686' 'x86_64')
  7. url="http://warmplace.ru/soft/sunvox/"
  8. license=(custom)
  9. groups=()
  10. depends=('libx11'
  11. 'glibc'
  12. 'gcc-libs'
  13. 'alsa-lib'
  14. 'sdl'
  15. 'libxcb'
  16. 'libxau'
  17. 'libxdmcp')
  18. makedepends=('unzip')
  19. source=(http://warmplace.ru/soft/sunvox/$pkgname-$pkgver.zip)
  20. md5sums=('9c7db5297122a031829323a5c30c373c')
  21.  
  22. package() {
  23.  
  24. install -dm755 "${pkgdir}/opt/${pkgname}"
  25. install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
  26.  
  27. if [ "$CARCH" = "x86_64" ]; then
  28. install -Dm755 "${srcdir}/sunvox/sunvox/linux_x86_64/sunvox" "${pkgdir}/usr/bin/sunvox"
  29. else
  30. install -Dm755 "${srcdir}/sunvox/sunvox/linux_x86/sunvox" "${pkgdir}/usr/bin/sunvox"
  31. install -Dm755 "${srcdir}/sunvox/sunvox/linux_x86/sunvox_lofi" "${pkgdir}/usr/bin/sunvox_lofi"
  32. install -Dm755 "${srcdir}/sunvox/sunvox/linux_x86/sunvox_no_simd" "${pkgdir}/usr/bin/sunvox_no_simd"
  33. fi
  34.  
  35. cp -a "${srcdir}/sunvox/examples" "${pkgdir}/opt/${pkgname}/examples"
  36. cp -a "${srcdir}/sunvox/instruments" "${pkgdir}/opt/${pkgname}/instruments"
  37. install -Dm644 "${srcdir}/sunvox/docs/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement