From 6b75a68162bc8d3f65c14c85f0e4abfa7d0a110f Mon Sep 17 00:00:00 2001 From: Guest One Date: Fri, 17 May 2013 22:03:31 +0200 Subject: added new package din 5.2.1-1 --- pcr/din/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pcr/din/PKGBUILD (limited to 'pcr/din/PKGBUILD') diff --git a/pcr/din/PKGBUILD b/pcr/din/PKGBUILD new file mode 100644 index 000000000..77013fc5c --- /dev/null +++ b/pcr/din/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Guest One + +pkgname=din +pkgver=5.2.1 +pkgrel=1 +pkgdesc="A software musical instrument and audio synthesizer using Bezier curves to draw waveforms." +arch=('i686') +url="http://dinisnoise.org/" +license=('GPL3') +depends=('fftw' 'jack' 'liblo' 'libgl' 'libircclient' 'tcl') +makedepends=('mesa') +install="$pkgname.install" +source=("http://din.googlecode.com/files/$pkgname-$pkgver.tar.gz") +md5sums=('d5a9c375b58e7652004bfcc1e3e17f88') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # remove previously generated checkdotdin + rm data/checkdotdin + + # colourized echo in m00 script + sed -i "s|echo|& -e|" data/m00 + + # tcl 8.6 fix + sed -i "s/tcl8\.5/tcl8\.6/g" `grep -rl "tcl8\.5"` + + ./configure --prefix=/usr \ + --datarootdir=/usr/share + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3