updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / wired / PKGBUILD
blob340141eeaf961be25d7495f3313a68e00c8d38b6
1 # Contributor: Ray Rashif <schivmeister@gmail.com>
2 # Previous/other contributor(s): Prashant Vaibhav, Johannes Sjolund
4 pkgname=wired
5 pkgver=0.6
6 pkgrel=2
7 pkgdesc="Modern semi-professional Digital Audio Workstation"
8 url="http://wired.sourceforge.net/"
9 arch=(i686 x86_64)
10 license=('GPL2')
11 options=('!libtool')
12 depends=('wxgtk-2.6' 'dssi' 'soundtouch' 'portaudio' 'libxml2')
13 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz \
14         $pkgname.desktop \
15         $pkgname.png)
17 build() {
18   cd $srcdir/$pkgname-$pkgver
19   ./autogen.sh
20   ./configure   --prefix=/usr \
21                 --sysconfdir=/etc \
22                 --with-wx-config=/usr/lib/wx/config/gtk2-unicode-release-2.6 \
23                 --disable-portaudio
25   # Force compile with wxgtk-2.6
26   find -name Makefile -exec sed -i 's:wx-config:wx-config-2.6:g' {} \; || return 1
27   find -name Makefile -exec sed -i 's:2.8.7:2.6.4:g' {} \; || return 1
28   find -name Makefile -exec sed -i 's:2.8:2.6:g' {} \; || return 1
30   make || return 1
31   make DESTDIR=$pkgdir install
33   install -Dm644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
34   install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
36 md5sums=('e3e9caedfced4ec9f287e7776b066614'
37          '3fc207496ee5c65f656331319df07477'
38          'd744c5a3b7d4d5dfbabf105bd3cb7a1d')