summaryrefslogtreecommitdiff
path: root/community/qtractor
diff options
context:
space:
mode:
Diffstat (limited to 'community/qtractor')
-rw-r--r--community/qtractor/PKGBUILD33
-rw-r--r--community/qtractor/qtractor.install13
2 files changed, 46 insertions, 0 deletions
diff --git a/community/qtractor/PKGBUILD b/community/qtractor/PKGBUILD
new file mode 100644
index 000000000..17f6a97c6
--- /dev/null
+++ b/community/qtractor/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 94309 2013-07-19 17:36:37Z schiv $
+# Maintainer: Ray Rashif <schiv@archlinux.org>
+# Contributor: Philipp Überbacher <hollunder at gmx dot at>
+
+pkgname=qtractor
+pkgver=0.5.10
+pkgrel=1
+pkgdesc="Audio/MIDI multitrack sequencer"
+arch=('i686' 'x86_64')
+url="http://qtractor.sourceforge.net/"
+license=('GPL')
+depends=('qt4' 'suil' 'lilv' 'libmad' 'liblo'
+ 'rubberband' 'shared-mime-info')
+makedepends=('ladspa' 'dssi')
+[ "$CARCH" = "i686" ] && optdepends=('dssi-vst: win32 VST support')
+install=qtractor.install
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('54a9c2b4eb0f65e44bdc27c91849a341')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package () {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/qtractor/qtractor.install b/community/qtractor/qtractor.install
new file mode 100644
index 000000000..3b3aff7d9
--- /dev/null
+++ b/community/qtractor/qtractor.install
@@ -0,0 +1,13 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}