1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
5 pkgdesc="Amuc is a Linux application for composing and playing music."
7 url="http://members.chello.nl/w.boeke/amuc/"
9 depends=('glibc' 'libx11' 'alsa-lib' 'jack-audio-connection-kit')
10 makedepends=('libxft' 'cairo')
12 source=(http://members.chello.nl/w.boeke/amuc/$pkgname-$pkgver.tar.gz amuc.desktop)
15 md5sums=('6e26398207e243b408f2d41f82fcbdbc'
16 '0948afebc1f73de4e47b0152340d51e7')
20 cd $startdir/src/$pkgname-$pkgver
21 ./configure --prefix=/usr
22 sed -i -e "s/\/usr\/share/..\/..\/pkg\/usr\/share/g" $startdir/src/$pkgname-$pkgver/Makefile
25 #mv $startdir/src/$pkgname-$pkgver/src-tr-sco/tr-sco $startdir/src/$pkgname-$pkgver/src-tr-sco/wav2score
26 SDIR=$startdir/pkg/usr/share
28 mkdir -p $startdir/pkg/bin
29 mkdir -p $SDIR/doc/amuc
30 mkdir -p $startdir/pkg/usr/share/man/man1
31 make INSTALL_DIR=$SDIR/amuc BIN_DIR=$startdir/pkg/bin DOC_DIR=$SDIR/doc/amuc install
35 install -D -m644 $srcdir/../amuc.desktop $pkgdir/usr/share/applications/amuc.desktop
36 #make INSTALL_DIR=$startdir/pkg/amuc install || return 1