PKGBUILDs/community/lash/PKGBUILD

49 lines
1.5 KiB
Bash
Raw Normal View History

2014-01-20 19:32:46 +00:00
# $Id$
2017-12-24 20:38:01 +00:00
# Maintainer: David Runge <dave@sleepmap.de>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
2014-01-20 19:32:46 +00:00
# Contributor: DonVla <donvla@users.sourceforge.net>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch to fix FTBFS on ARM
pkgname=lash
pkgver=0.6.0~rc2
_relver=0.6.0.594
2018-03-20 17:44:11 +00:00
pkgrel=12
2014-01-20 19:32:46 +00:00
pkgdesc="A session management system for JACK and ALSA"
2017-12-24 20:38:01 +00:00
arch=('x86_64')
2014-01-20 19:32:46 +00:00
url="http://lash.nongnu.org/"
2017-12-24 20:38:01 +00:00
license=('GPL2')
2018-03-20 17:44:11 +00:00
depends=('jack' 'python2')
makedepends=('gtk2')
optdepends=('gtk2: For lash_panel, lash_save_button and lash_synth')
2017-12-24 20:38:01 +00:00
source=("https://download.savannah.gnu.org/releases/lash/${pkgname}-${pkgver}.tar.bz2"
"fix-manual-generation.patch"
2014-01-20 19:32:46 +00:00
'04_disable_stacktrace.patch')
2017-12-24 20:38:01 +00:00
sha512sums=('704e24ccadccb469e820be5fb58dd4d953a8fc2903cd857a290267a87dda596639ec381d5cb7cdfcd715df7d98d6570e52731bddd17f8a3425edd8b699632401'
'25bb9f97bc6ff7543fea39242bc321b40cd35ba042248671e958348f9e250f810ea1e4753918aceba799b0fdd886184af57a7c497796034b999ca8d6b85e1252')
2014-01-20 19:32:46 +00:00
2014-10-20 12:41:39 +00:00
prepare() {
2017-12-24 20:38:01 +00:00
cd "${pkgname}-${_relver}"
patch -Np0 -i "../fix-manual-generation.patch"
2014-01-20 19:32:46 +00:00
patch -p1 -i ../04_disable_stacktrace.patch
# Python2 fixes
export PYTHON="python2"
sed -i "s#env python#&2#" clients/lash_control
2014-10-20 12:41:39 +00:00
}
2014-01-20 19:32:46 +00:00
2014-10-20 12:41:39 +00:00
build() {
2017-12-24 20:38:01 +00:00
cd "${pkgname}-${_relver}"
2014-01-20 19:32:46 +00:00
export LDFLAGS="-ldl -lm"
./configure --prefix=/usr
make
}
package() {
2017-12-24 20:38:01 +00:00
cd "${pkgname}-${_relver}"
make DESTDIR="${pkgdir}" install
2018-03-20 17:44:11 +00:00
# docs
install -vDm 644 {AUTHORS,ChangeLog,NEWS,README,TODO} \
-t "${pkgdir}/usr/share/doc/${pkgname}/"
2014-01-20 19:32:46 +00:00
}