Advertisement
Guest User

Untitled

a guest
Aug 6th, 2018
1,617
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Submitter: Anton Yermalovich <zuzu@bk.ru>
  2. # Maintainer: Yousef Amar <yousef@amar.io>
  3. # Contributor: zwergnase <zwergnase@posteo.de>
  4.  
  5. pkgname=sunvox
  6. pkgver=1.9.4c
  7. pkgrel=1
  8. pkgdesc="Small, fast and powerful modular synthesizer with pattern-based sequencer (tracker)."
  9. arch=('i686' 'x86_64')
  10. url="http://warmplace.ru/soft/sunvox/"
  11. license=(custom)
  12. groups=()
  13. depends=(
  14. 'libx11'
  15. 'glibc'
  16. 'gcc-libs'
  17. 'alsa-lib'
  18. 'sdl'
  19. 'libxcb'
  20. 'libxau'
  21. 'libxdmcp'
  22. )
  23. makedepends=('unzip')
  24. source=(http://warmplace.ru/soft/sunvox/$pkgname-$pkgver.zip)
  25. md5sums=('e75b186ba163bdefc388b65c5eb82c0a')
  26.  
  27. package() {
  28. install -dm755 "${pkgdir}/opt/${pkgname}"
  29. install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
  30.  
  31. if [ "$CARCH" = "x86_64" ]; then
  32. install -Dm755 "${srcdir}/sunvox/sunvox/linux_x86_64/sunvox" "${pkgdir}/usr/bin/sunvox"
  33. else
  34. install -Dm755 "${srcdir}/sunvox/sunvox/linux_x86/sunvox" "${pkgdir}/usr/bin/sunvox"
  35. install -Dm755 "${srcdir}/sunvox/sunvox/linux_x86/sunvox_lofi" "${pkgdir}/usr/bin/sunvox_lofi"
  36. install -Dm755 "${srcdir}/sunvox/sunvox/linux_x86/sunvox_no_simd" "${pkgdir}/usr/bin/sunvox_no_simd"
  37. fi
  38.  
  39. cp -a "${srcdir}/sunvox/examples" "${pkgdir}/opt/${pkgname}/examples"
  40. cp -a "${srcdir}/sunvox/instruments" "${pkgdir}/opt/${pkgname}/instruments"
  41. cp -a "${srcdir}/sunvox/effects" "${pkgdir}/opt/${pkgname}/effects"
  42. install -Dm644 "${srcdir}/sunvox/docs/license/SunVox.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  43. }
Advertisement
RAW Paste Data Copied
Advertisement