summaryrefslogtreecommitdiff
path: root/community/mhwaveedit/PKGBUILD
blob: 83a9a86f2f92c1b5ac0c56c199f461afa5fa0d32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id $
# Maintainer: Loui Chang <louipc.ist@gmail.com>
# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
# Contributor: Robert Emil Berge <robert@rebi.no>

pkgname=mhwaveedit
pkgver=1.4.20
pkgrel=2
pkgdesc="A graphical program for editing, playing and recording sound files."
arch=('i686' 'x86_64')
url="http://gna.org/projects/mhwaveedit"
license=('GPL')
depends=('libsamplerate' 'gtk2' 'jack')
source=(http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('979ac5776a57268aed0afa74d50c70a2')

build() {
  cd $srcdir/$pkgname-$pkgver
  sed -i "s|Icon=mhwaveedit.xpm|Icon=mhwaveedit|" share/applications/mhwaveedit.desktop
  ./configure --without-check-casts --without-arts --without-esound \
  	--without-portaudio --without-sun  --without-sdl --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}