summaryrefslogtreecommitdiff
path: root/pcr/din
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/din')
-rw-r--r--pcr/din/PKGBUILD38
-rw-r--r--pcr/din/din.install12
2 files changed, 50 insertions, 0 deletions
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 <theguestone at gmail dot com>
+
+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:
diff --git a/pcr/din/din.install b/pcr/din/din.install
new file mode 100644
index 000000000..810ee4bfd
--- /dev/null
+++ b/pcr/din/din.install
@@ -0,0 +1,12 @@
+post_install() {
+ echo ">>> If you get any trouble, remeber to clean your ~/.din folder"
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}