diff options
author | root <root@rshg054.dnsready.net> | 2013-03-02 00:04:05 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-03-02 00:04:05 -0800 |
commit | 98aa0004e23472ee63753fded33cd55d8b942f36 (patch) | |
tree | 1299d9cfb8bcd6bd295a1a279b4ad322b4e9133a /community/canorus | |
parent | 5ae40a63ab4c6838234db5a9da1e99d8bc27875d (diff) |
Sat Mar 2 00:04:03 PST 2013
Diffstat (limited to 'community/canorus')
-rw-r--r-- | community/canorus/PKGBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/community/canorus/PKGBUILD b/community/canorus/PKGBUILD index d1ff35fe2..9ea89a79a 100644 --- a/community/canorus/PKGBUILD +++ b/community/canorus/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 59873 2011-12-01 13:49:19Z spupykin $ +# $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> @@ -6,12 +6,12 @@ pkgname=canorus pkgver=0.7.R1002 -pkgrel=4 +pkgrel=5 pkgdesc="A free music score editor" arch=('i686' 'x86_64') url="http://www.canorus.org/" license=('GPL') -depends=('qt' 'alsa-lib' 'python2' 'swig') +depends=('qt4' 'alsa-lib' 'python2' 'swig' 'zlib') makedepends=('cmake') options=('strip') source=(http://download.berlios.de/$pkgname/$pkgname\_$pkgver\_source.tar.bz2) @@ -19,12 +19,16 @@ md5sums=('5575b7c54633056a463177579a390318') build() { cd $srcdir/$pkgname-$pkgver - export QTDIR=/usr + 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 - make install +} +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} |