desktop/lash/PKGBUILD
Neofytos Kolokotronis 30cfc0bc32 lash: pkgrel +1
2016-01-20 16:56:22 +01:00

37 lines
984 B
Bash

# Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/lash
pkgname=lash
pkgver=0.6.0
_pkgver=0.6.0~rc2
_relver=0.6.0.594
pkgrel=2
pkgdesc="A session management system for JACK and ALSA"
arch=('x86_64')
#url="http://lash-audio.org"
url="http://lash.nongnu.org/"
license=('GPL')
depends=('dbus-core' 'jack' 'libxml2' 'python2')
install=$pkgname.install
source=("http://download.savannah.gnu.org/releases/lash/${pkgname}-${_pkgver}.tar.bz2" "makefile.patch")
md5sums=('af1dc4f4ceb284b1b0845de4f4c2fe47'
'24ceb7e3d008c25e1490102983165612')
prepare() {
cd "${srcdir}/${pkgname}-${_relver}"
patch -p0 < "${srcdir}/makefile.patch"
# Python2 fixes
export PYTHON="python2"
sed -i "s#env python#&2#" clients/lash_control
}
build() {
cd "${srcdir}/${pkgname}-${_relver}"
export LDFLAGS="-ldl -lm"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${_relver}"
make DESTDIR=${pkgdir} install
}