updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / harmonyseq-bzr / PKGBUILD
blob646dcaf59b90524ff82dd529f7b3473ee054d660
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 _name=harmonyseq
4 pkgname=$_name-bzr
5 pkgver=685
6 pkgrel=1
7 pkgdesc="A loop-based MIDI software sequencer intended to help music composers and performers."
8 arch=(i686 x86_64)
9 url="http://harmonyseq.wordpress.com/"
10 license=('GPL')
11 depends=('alsa-lib' 'gtkmm' 'liblo' 'hicolor-icon-theme' 'desktop-file-utils')
12 provides=("$_name")
13 conflicts=("$_name")
14 install="$pkgname.install"
16 _bzrtrunk=lp:$_name
17 _bzrmod=$_name
19 build() {
20   cd "$srcdir"
21   msg "Connecting to Bazaar server...."
23   if [[ -d "$_bzrmod" ]]; then
24     cd "$_bzrmod" && bzr --no-plugins pull "$_bzrtrunk" -r "$pkgver"
25     msg "The local files are updated."
26   else
27     bzr branch "$_bzrtrunk" "$_bzrmod" -q -r "$pkgver"
28   fi
30   msg "Bazaar checkout done or server timeout"
31   msg "Starting build..."
33   rm -rf "$srcdir/$_bzrmod-build"
34   cp -r "$srcdir/$_bzrmod" "$srcdir/$_bzrmod-build"
35   cd "$srcdir/$_bzrmod-build"
37   #
38   # BUILD HERE
39   #
41   ./configure --prefix=/usr
42   make
45 package() {
46   cd "$srcdir/$_bzrmod-build"
48   make DESTDIR="$pkgdir/" install
51 # vim:set ts=2 sw=2 et: