updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / amuc / PKGBUILD
blob163332501186dfe54848810895c9e972c50a6749
1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
2 pkgname=amuc
3 pkgver=1.7
4 pkgrel=4
5 pkgdesc="Amuc is a Linux application for composing and playing music."
6 arch=(i686 x86_64)
7 url="http://members.chello.nl/w.boeke/amuc/"
8 license=('GPL')
9 depends=('glibc' 'libx11' 'alsa-lib' 'jack-audio-connection-kit')
10 makedepends=('libxft' 'cairo')
11 groups=()
12 source=(http://members.chello.nl/w.boeke/amuc/$pkgname-$pkgver.tar.gz amuc.desktop)
15 md5sums=('6e26398207e243b408f2d41f82fcbdbc'
16          '0948afebc1f73de4e47b0152340d51e7')
19 build() {
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
23   make || return 1
24   make tr-sco
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
27   mkdir -p $SDIR/amuc
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
33         #desktop file
34         
35         install -D -m644 $srcdir/../amuc.desktop $pkgdir/usr/share/applications/amuc.desktop
36   #make INSTALL_DIR=$startdir/pkg/amuc install || return 1