1 # Contributor: robb_force <robb_force@holybuffalo.net>
6 pkgdesc="Synthetic Audio Library lets you write applications that are able to play digital audio waveforms and music modules on many platforms."
7 url="http://www.sonicspot.com/sealsdk/sealsdk.html"
10 source=(http://www.sonicspot.com/sealsdk/${pkgname}${pkgver%.*}${pkgver#*.}.zip \
11 http://ftp.debian.org/debian/pool/main/s/${pkgname}/${pkgname}_${pkgver}-14.diff.gz)
12 md5sums=('ed237a6d8c8c21501374e5b4a1113e4a'
13 '185e3523b004aa571abc112d130a63c2')
20 # Create the patches from the debian package
21 patch -p1 < seal_1.07-14.diff
24 cd ${pkgname}-${pkgver}
25 for i in ${startdir}/src/debian/patches/*.diff; do
29 # Move into the seal src directory and compile
31 make -f Linux/Makefile || return 1
33 # Manually install the files
34 cd ${startdir}/src/${pkgname}-${pkgver}
35 install -Dm0755 src/mp ${startdir}/pkg/usr/bin/mp
36 install -d ${startdir}/pkg/usr/lib/${pkgname}/
37 install -m0755 lib/Linux/* ${startdir}/pkg/usr/lib/${pkgname}/
38 install -Dm0644 include/audio.h ${startdir}/pkg/usr/include/seal.h
41 install -Dm644 LICENSE.TXT ${startdir}/pkg/usr/share/licenses/custom/${pkgname}/license.txt