1 # Maintainer: Daniel Lopez Monagas <zokeber@archlinux.org.ve>
2 # Contributor: David H. Bronke <whitelynx@gmail.com>
6 pkgdesc="SunVox is a small, fast and powerful music sequencer with modular synthesizers"
8 url="http://www.warmplace.ru/soft/sunvox/"
14 source=(http://www.warmplace.ru/soft/sunvox/$pkgname-$pkgver.zip sunvox.desktop sunvox.png)
15 md5sums=('4af10b1a5ac9bbd6d94d1a5227ffabbc'
16 'fefc4c911470b3e968f6b81399c424c6'
17 '969c5d8abf72b6a77c46df7b56a119ee')
22 install -d ${pkgdir}/{usr/{bin,share/{applications/${pkgname},icons/${pkgname}}},opt/${pkgname}}
24 mv "instruments" "${pkgdir}/opt/$pkgname" || return 1
25 mv "examples" "${pkgdir}/opt/$pkgname" || return 1
26 mv "docs" "${pkgdir}/opt/$pkgname" || return 1
28 install -Dm755 ${pkgname}.png "${pkgdir}/usr/share/icons/${pkgname}/" || return 1
29 install -Dm755 ${pkgname}.desktop "${pkgdir}/usr/share/applications/" || return 1
31 if [ "$CARCH" = "x86_64" ]; then
32 install -Dm755 "${pkgname}/linux_x86_64/$pkgname" "${pkgdir}/opt/$pkgname" || return 1
33 install -Dm644 "${pkgname}/linux_x86_64/sunvox_config.ini" "${pkgdir}/opt/$pkgname" || return 1
35 install -Dm755 "${pkgname}/linux_x86/$pkgname" "${pkgdir}/opt/$pkgname" || return 1
36 install -Dm644 "${pkgname}/linux_x86/sunvox_config.ini" "${pkgdir}/opt/$pkgname" || return 1
39 ln -s /opt/$pkgname/$pkgname "${pkgdir}/usr/bin/$pkgname" || return 1
43 # vim:set ts=2 sw=2 et: