blob: d493bdf75d4d981a6d34d47a1ffe6421768064ce (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Maintainer: Giuseppe Sellaroli <g.sellaroli at yahoo dot it>
pkgname=scala-music
pkgver=2.46d
pkgrel=1
pkgdesc='Music software for experimentation with tunings and different kind of scales'
url='http://www.huygens-fokker.org/scala/'
arch=('x86_64')
source=("http://www.huygens-fokker.org/software/scala-22-pc64-linux.tar.bz2"
"http://mirrors.kernel.org/ubuntu/pool/universe/g/gnat-4.9/libgnat-4.9_4.9.3-3ubuntu5_amd64.deb"
"scala-music"
"Scala.desktop"
"scala-music.png")
optdepends=('gnuplot: to make graphic plots'
'scala-music-scales: a collection of over 4800 scale files for Scala')
md5sums=('a7295fa24ef5f9086ba7633e9043886c'
'4a5be88fa48c52382b1da8e101d16d7d'
'f9f67a3ae3037523db5e9bcd4b22fb99'
'aed4e375f4acdd9d947a681c1deef49a'
'c53cec9d2d767d86056752a1ed1f836a')
build () {
tar -xf data.tar.xz
}
package() {
install -dm755 "${pkgdir}/opt/scala/libs"
cd "${srcdir}/scala-22-pc64-linux"
for d in `find . -type d`
do
install -dm755 "${pkgdir}/opt/scala/$d"
done
for f in `find . -type f`
do
install -m644 "$f" "${pkgdir}/opt/scala/$f"
done
install -m644 "libgtkada.so.2.24.4" "${pkgdir}/opt/scala/libs"
install -m644 "${srcdir}/usr/lib/x86_64-linux-gnu/"* "${pkgdir}/opt/scala/libs"
install -dm755 "${pkgdir}/usr/bin"
install -m755 "${srcdir}/scala-music" "${pkgdir}/usr/bin/scala-music"
install -dm755 "${pkgdir}/usr/share/applications"
install -m644 "${srcdir}/Scala.desktop" "${pkgdir}/usr/share/applications/Scala.desktop"
install -dm755 "${pkgdir}/usr/share/pixmaps"
install -m755 "${srcdir}/scala-music.png" "${pkgdir}/usr/share/pixmaps/Scala.png"
chmod +x "${pkgdir}/opt/scala/scala"
}
|