updated on Thu Jan 5 13:17:10 UTC 2012
[aur-mirror.git] / sonatina-symphony-orchestra / PKGBUILD
blobcc397c85a137b1f589bc9e5a06b7154798eab374
1 # Maintainer: orbisvicis <''.join(chr(ord(c)-1) for c in "pscjtwjdjtAhnbjm/dpn")>
3 pkgname="sonatina-symphony-orchestra"
4 _pkg="${pkgname%%-*}"
5 pkgver=1
6 pkgrel=1
7 pkgdesc="A free orchestral sample library by Mattias Westlund, with several patches from the OpenOctave project"
8 arch=("any")
9 url="http://sso.mattiaswestlund.net/"
10 license=("custom:cc-sampling+")
11 depends=()
12 optdepends=("linuxsampler: sample and play the SSO SFZ files"
13             "oomidi: sequence the SSO SFZ file")
14 provides=()
15 conflicts=()
16 source=("http://downloads.sourceforge.net/project/openoctave/libraries/sonatina1.tar.bz2"
17         "cc-sampling-plus.html")
18 sha256sums=("38aaf1b089eba527863c6681144f102fef945988950e98afda87acc3559bdb4b"
19             "ecced12ff5c1776b232e4c03f9d348dadc3e529a4f6a1272c0cdaff44b26cee9")
21 build() {
22   # nothing to do
23   return 0
26 package() {
27   cd "$srcdir"
28   # ensure file mode
29   find "$_pkg" -type d -execdir chmod 755 '{}' \;
30   find "$_pkg" -type f -execdir chmod 644 '{}' \;
31   # license
32   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
33   install -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" cc-sampling-plus.html
34   # documentation
35   install -m755 -d "${pkgdir}/usr/share/doc/${pkgname}"
36   mv "${_pkg}/Sonatina Symphonic Orchestra/Readme.html" "${pkgdir}/usr/share/doc/${pkgname}"
37   # rest of the package
38   install -m755 -d "${pkgdir}/usr/share/sounds"
39   mv sonatina "${pkgdir}/usr/share/sounds"
42 # vim:set ts=2 sw=2 et: