summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8ba8adb11358aa29373cc79dbe4c24b6aac25479 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: Robert Kubosz <kubosz.robert@gmail.com>

pkgname=python-abjad
pkgver=3.0.0
pkgrel=2
groups=('abjad')
pkgdesc='Tool for formalized music score control.'
arch=('any')
url="https://github.com/Abjad/abjad"
license=('GPL3')
depends=('lilypond'
        'python'
        'python-ply'
        'python-six'
        'python-uqbar'
        'python-roman'
        )
makedepends=('python-setuptools')
optdepends=(
        'fluidsynth: to play generated MIDI files (instead of timidity++)'
        'timidity++: to play generated MIDI files (instead of fluidsynth)'
        'graphviz: to create rhythm-trees graphs and other tree structures'
        )
source=("$url/archive/v$pkgver.tar.gz")
sha256sums=('ba1aa85322b4985081b86cbd7bc2552d678f4a12622291e5f425e77c92895f08')


build() {
    cd $srcdir/abjad-$pkgver
    python setup.py build
}


package() {
    cd $srcdir/abjad-$pkgver
    python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
    install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}