updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / audiveris / PKGBUILD
blob00eac71f0489aaac386734db0e821d6bb264e881
1 # Maintainer: Simone Riva <simone.rva [at] gmail [dot] com>
4 pkgname=('audiveris')
5 pkgver=3.3
6 pkgrel=1
7 pkgdesc="Audiveris is a complete music scanner going all the way from the scanned music sheet input to the MusicXML output"
8 arch=('i686' 'x86_64')
9 url="http://audiveris.kenai.com/"
10 license=('GPL3')
11 makedepends=('openjdk6' 'zip')
12 depends=('openjdk6' 'tesseract')
14 install=audiveris.install
16 source=('http://kenai.com/projects/audiveris/downloads/download/audiveris-3.3-full-20100609.zip' 
17         'audiveris' 
18         'audiveris.desktop'
19         'Audiveris.svg' )
21 md5sums=( 'e72aa73a3de84ee37d9112035d8a861f' 
22           '357e7f42cb2ca648b38aba7b4c79f461' 
23           '29fe093a5f69e97d5c8ed9ded52267df' 
24           'c914cd17c9050c5accfb2c815eafcebf' )
26 build() {
27         mkdir -p ${pkgdir}/opt/audiveris
28         mkdir -p ${pkgdir}/usr/bin
29         mkdir -p ${pkgdir}/usr/share/applications/
30         mkdir -p ${pkgdir}/usr/share/icons/hicolor/scalable/apps/
32         cp -r ${srcdir}/* ${pkgdir}/opt/audiveris
33         cp audiveris ${pkgdir}/usr/bin
34         chmod a+x ${pkgdir}/usr/bin/audiveris
36         rm -f ${pkgdir}/opt/audiveris/audiveris-3.3-full-20100609.zip
37         rm -rf ${pkgdir}/opt/audiveris/orc
39         cp Audiveris.svg ${pkgdir}/usr/share/icons/hicolor/scalable/apps/
40         cp audiveris.desktop ${pkgdir}/usr/share/applications/
41