summaryrefslogtreecommitdiff
path: root/community/canorus
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/canorus
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/canorus')
-rw-r--r--community/canorus/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/canorus/PKGBUILD b/community/canorus/PKGBUILD
new file mode 100644
index 000000000..9ea89a79a
--- /dev/null
+++ b/community/canorus/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 85336 2013-03-01 10:28:57Z andrea $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# 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=5
+pkgdesc="A free music score editor"
+arch=('i686' 'x86_64')
+url="http://www.canorus.org/"
+license=('GPL')
+depends=('qt4' 'alsa-lib' 'python2' 'swig' 'zlib')
+makedepends=('cmake')
+options=('strip')
+source=(http://download.berlios.de/$pkgname/$pkgname\_$pkgver\_source.tar.bz2)
+md5sums=('5575b7c54633056a463177579a390318')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ source /etc/profile.d/qt4.sh
+ export LDFLAGS="-lz -lpthread"
+ cmake . -DCMAKE_INSTALL_PREFIX=$pkgdir/usr \
+ -DDEFAULT_DATA_DIR="/usr/share/canorus" \
+ -DNO_SWIG=ON
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ 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}
+}