diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-05-18 14:01:58 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-05-18 14:01:58 -0300 |
commit | e6cfd799d9f9764dc899080218759c9146fef278 (patch) | |
tree | 302bb95153d05bdbc3f946cb6404640fa80c316e /pcr/din | |
parent | 41c31d823235baf54a4ec40a9760e0f490cee474 (diff) | |
parent | 4756df5e3c8ede6bb6ebdab627d17542ffce2b81 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/din')
-rw-r--r-- | pcr/din/PKGBUILD | 38 | ||||
-rw-r--r-- | pcr/din/din.install | 12 |
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 +} |