From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/lash/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ community/lash/lash.install | 6 ++++++ community/lash/makefile.patch | 14 ++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 community/lash/PKGBUILD create mode 100644 community/lash/lash.install create mode 100644 community/lash/makefile.patch (limited to 'community/lash') diff --git a/community/lash/PKGBUILD b/community/lash/PKGBUILD new file mode 100644 index 000000000..16390c3ec --- /dev/null +++ b/community/lash/PKGBUILD @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: DonVla + +pkgname=lash +pkgver=0.6.0~rc2 +_relver=0.6.0.594 +pkgrel=6 +pkgdesc="A session management system for JACK and ALSA" +arch=('i686' 'x86_64') +options=('!libtool') +#url="http://lash-audio.org" +url="http://lash.nongnu.org/" +license=('GPL') +depends=('dbus-core' 'gtk2' 'jack' 'libxml2' 'python2') +install=$pkgname.install +source=("http://download.savannah.gnu.org/releases/lash/${pkgname}-${pkgver}.tar.bz2" "makefile.patch") +md5sums=('af1dc4f4ceb284b1b0845de4f4c2fe47' + '24ceb7e3d008c25e1490102983165612') + +build() { + cd "${srcdir}/${pkgname}-${_relver}" + patch -p0 < "${srcdir}/makefile.patch" + + # Python2 fixes + export PYTHON="python2" + sed -i "s#env python#&2#" clients/lash_control + + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${_relver}" + make DESTDIR=${pkgdir} install +} diff --git a/community/lash/lash.install b/community/lash/lash.install new file mode 100644 index 000000000..a169a2211 --- /dev/null +++ b/community/lash/lash.install @@ -0,0 +1,6 @@ +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" +} diff --git a/community/lash/makefile.patch b/community/lash/makefile.patch new file mode 100644 index 000000000..3d35a1d2d --- /dev/null +++ b/community/lash/makefile.patch @@ -0,0 +1,14 @@ +--- docs/Makefile.in.orig 2008-11-09 22:45:28.000000000 +0100 ++++ docs/Makefile.in 2011-07-23 17:12:26.000000000 +0200 +@@ -527,9 +527,9 @@ + @HAVE_TEXI2HTML_TRUE@ mkdir -lash-manual-html-split; \ + @HAVE_TEXI2HTML_TRUE@ fi + @HAVE_TEXI2HTML_TRUE@ cd lash-manual-html-one-page && \ +-@HAVE_TEXI2HTML_TRUE@ texi2html --number ../$(top_srcdir)/docs/lash-manual.texi ++@HAVE_TEXI2HTML_TRUE@ texi2html --number-footnotes --number-sections ../$(top_srcdir)/docs/lash-manual.texi + @HAVE_TEXI2HTML_TRUE@ cd lash-manual-html-split && \ +-@HAVE_TEXI2HTML_TRUE@ texi2html --number --split=chapter ../$(top_srcdir)/docs/lash-manual.texi ++@HAVE_TEXI2HTML_TRUE@ texi2html --number-footnotes --number-sections --split=chapter ../$(top_srcdir)/docs/lash-manual.texi + @HAVE_TEXI2HTML_TRUE@ touch html-manual-stamp + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. -- cgit v1.2.3-54-g00ecf