summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuest One <theguestone@gmail.com>2013-05-17 22:03:31 +0200
committerGuest One <theguestone@gmail.com>2013-05-17 22:03:31 +0200
commit6b75a68162bc8d3f65c14c85f0e4abfa7d0a110f (patch)
treedb3d623097c3f88deab70b95c21664b88d1f8e0d
parenta19f50dd22711971b88de288f678b0976ebf5563 (diff)
downloadabslibre-6b75a68162bc8d3f65c14c85f0e4abfa7d0a110f.tar.gz
abslibre-6b75a68162bc8d3f65c14c85f0e4abfa7d0a110f.tar.bz2
abslibre-6b75a68162bc8d3f65c14c85f0e4abfa7d0a110f.zip
added new package din 5.2.1-1
-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
+}