1 # Contributor: Bjoern Lindig <bjoern at googlemail dot com>
5 pkgdesc="A graphical program for editing, playing and recording sound files."
7 url="https://gna.org/projects/mhwaveedit"
9 depends=('sdl' 'jack' 'gtk2')
11 optdepends=('libpulse' 'esound')
12 provides=('mhwaveedit')
13 conflicts=('mhwaveedit')
14 replaces=('mhwaveedit')
17 md5sums=() #generate with 'makepkg -g'
19 _gitroot="git://github.com/magnush/mhwaveedit.git"
24 msg "Connecting to GIT server...."
26 if [ -d $_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
31 git clone $_gitroot $_gitname
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 rm -rf "$srcdir/$_gitname-build"
38 #mkdir "$srcdir/$_gitname-build"
39 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
40 cd "$srcdir/$_gitname-build"
46 cd "$srcdir/$_gitname-build/docgen"
48 cd "$srcdir/$_gitname-build/"
53 ./configure --prefix=/usr
54 make -C po mhwaveedit.pot-update
56 make DESTDIR="$pkgdir/" install