updated on Sun Jan 22 08:00:21 UTC 2012
[aur-mirror.git] / lash / PKGBUILD
blob17d2201f1ef1f395cebb1994fd4dac7bc4a1e3e9
1 # Contributor: DonVla <donvla@users.sourceforge.net>
3 pkgname=lash
4 pkgver=0.6.0~rc2
5 _relver=0.6.0.594
6 pkgrel=5
7 pkgdesc="A session management system for JACK and ALSA"
8 arch=('i686' 'x86_64')
9 options=('!libtool')
10 url="http://lash-audio.org"
11 license=('GPL')
12 depends=('dbus-core' 'gtk2' 'jack' 'libxml2' 'python2')
13 install=$pkgname.install
14 source=("http://download.savannah.gnu.org/releases/lash/${pkgname}-${pkgver}.tar.bz2" "makefile.patch")
15 md5sums=('af1dc4f4ceb284b1b0845de4f4c2fe47'
16          '24ceb7e3d008c25e1490102983165612')
18 build() {
19   cd "${srcdir}/${pkgname}-${_relver}"
20   patch -p0 < "${srcdir}/makefile.patch"
22 # Python2 fixes
23   export PYTHON="python2"
24   sed -i "s#env python#&2#" clients/lash_control
26   ./configure --prefix=/usr
27   make
30 package() {
31   cd "${srcdir}/${pkgname}-${_relver}"
32   make DESTDIR=${pkgdir} install