summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/yoshimi/PKGBUILD28
-rw-r--r--pcr/yoshimi/yoshimi.install19
2 files changed, 47 insertions, 0 deletions
diff --git a/pcr/yoshimi/PKGBUILD b/pcr/yoshimi/PKGBUILD
new file mode 100644
index 000000000..26b16308e
--- /dev/null
+++ b/pcr/yoshimi/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: David Adler <david dot jo dot adler at gmail dot com>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+
+pkgname=yoshimi
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="ZynAddSubFX fork with improved JACK audio & MIDI IO"
+arch=('i686' 'x86_64')
+url="http://yoshimi.sourceforge.net/"
+license=('GPL')
+depends=('jack' 'fltk' 'fftw' 'mxml' 'cairo')
+makedepends=('cmake' 'boost' 'mesa')
+install="$pkgname.install"
+source=("http://downloads.sourceforge.net/project/$pkgname/1.2/$pkgname-$pkgver.tar.bz2")
+md5sums=('a455f47d6c533ce0b3d64445d3cbf6de')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver/src"
+ cmake . -DCMAKE_INSTALL_PREFIX="$pkgdir/usr"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/src"
+ make install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/yoshimi/yoshimi.install b/pcr/yoshimi/yoshimi.install
new file mode 100644
index 000000000..655df27a5
--- /dev/null
+++ b/pcr/yoshimi/yoshimi.install
@@ -0,0 +1,19 @@
+post_install() {
+ echo "
+Upon first exit, a configuration file
+~/.config/yoshimi/yoshimi.config
+will be written.
+
+Thus, if the instrument banks are empty,
+do one initial exit, then restart.
+"
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ update-desktop-database -q
+}