summaryrefslogtreecommitdiff
path: root/community/canorus/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/canorus/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/canorus/PKGBUILD')
-rw-r--r--community/canorus/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/canorus/PKGBUILD b/community/canorus/PKGBUILD
new file mode 100644
index 000000000..c7df6e5b5
--- /dev/null
+++ b/community/canorus/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Arch Linux Pro Audio <dev@archaudio.org>
+# Contributor: Coenraad van der Westhuizen <chwesthuizen@gmail.com>
+# Contributor: hm_b <holger (at) music-nerds (dot) net>
+
+pkgname=canorus
+pkgver=0.7.R1002
+pkgrel=3
+pkgdesc="A free music score editor"
+arch=('i686' 'x86_64')
+url="http://www.canorus.org/"
+license=('GPL')
+depends=('qt' 'alsa-lib' 'python2' 'swig')
+makedepends=('cmake')
+options=('strip')
+source=(http://download.berlios.de/$pkgname/$pkgname\_$pkgver\_source.tar.bz2)
+md5sums=('5575b7c54633056a463177579a390318')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ export QTDIR=/usr
+
+ cmake . -DCMAKE_INSTALL_PREFIX=$pkgdir/usr -DDEFAULT_DATA_DIR="/usr/share/canorus"
+ make install
+
+ install -d $pkgdir/usr/share/{applications,pixmaps}
+ cp canorus.desktop $pkgdir/usr/share/applications
+ cp $pkgdir/usr/share/{canorus/images/clogosm.png,pixmaps/canorus.png}
+}