community/lash to 0.6.0~rc2-11

This commit is contained in:
Kevin Mihelich 2017-12-24 20:38:01 +00:00
parent 25487d3251
commit 1ed1332187
3 changed files with 16 additions and 24 deletions

View file

@ -1,5 +1,6 @@
# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: David Runge <dave@sleepmap.de>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: DonVla <donvla@users.sourceforge.net>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
@ -8,39 +9,36 @@
pkgname=lash
pkgver=0.6.0~rc2
_relver=0.6.0.594
pkgrel=10
pkgrel=11
pkgdesc="A session management system for JACK and ALSA"
arch=('i686' 'x86_64')
#url="http://lash-audio.org"
arch=('x86_64')
url="http://lash.nongnu.org/"
license=('GPL')
depends=('dbus' 'gtk2' 'jack' 'libxml2' 'python2')
install=$pkgname.install
source=("http://download.savannah.gnu.org/releases/lash/${pkgname}-${pkgver}.tar.bz2"
"makefile.patch"
license=('GPL2')
depends=('gtk2' 'jack' 'python2')
#install=$pkgname.install
source=("https://download.savannah.gnu.org/releases/lash/${pkgname}-${pkgver}.tar.bz2"
"fix-manual-generation.patch"
'04_disable_stacktrace.patch')
md5sums=('af1dc4f4ceb284b1b0845de4f4c2fe47'
'24ceb7e3d008c25e1490102983165612'
'615f37933cedafae856aa4e7e9c3a4d9')
sha512sums=('704e24ccadccb469e820be5fb58dd4d953a8fc2903cd857a290267a87dda596639ec381d5cb7cdfcd715df7d98d6570e52731bddd17f8a3425edd8b699632401'
'25bb9f97bc6ff7543fea39242bc321b40cd35ba042248671e958348f9e250f810ea1e4753918aceba799b0fdd886184af57a7c497796034b999ca8d6b85e1252')
prepare() {
cd "${srcdir}/${pkgname}-${_relver}"
patch -p0 < "${srcdir}/makefile.patch"
cd "${pkgname}-${_relver}"
patch -Np0 -i "../fix-manual-generation.patch"
patch -p1 -i ../04_disable_stacktrace.patch
# Python2 fixes
export PYTHON="python2"
sed -i "s#env python#&2#" clients/lash_control
}
build() {
cd "${srcdir}/${pkgname}-${_relver}"
cd "${pkgname}-${_relver}"
export LDFLAGS="-ldl -lm"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${_relver}"
make DESTDIR="$pkgdir" install
cd "${pkgname}-${_relver}"
make DESTDIR="${pkgdir}" install
}

View file

@ -1,6 +0,0 @@
post_install() {
printf "\n"
printf "==> You might need to add following line to your /etc/services(without quotes):\n"
printf "==> \"lash 14541/tcp # LASH client/server protocol\"\n"
printf "\n"
}