blob: 6c25fd9b4e41a13f41de353d8e753664c34a8283 (
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
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# Maintainer:
# Contributor: Daniel Peukert <dan.peukert@gmail.com>
## useful links
# http://ajaxsoundstudio.com/software/cecilia
# https://github.com/belangeo/cecilia5
_pkgname="cecilia"
pkgname="cecilia-git"
pkgver=5.4.1.r15.gc592f8e
pkgrel=1
pkgdesc='Audio signal processing environment aimed at sound designers - git version'
url="https://github.com/belangeo/cecilia5"
license=('GPL-3.0-or-later')
arch=('any')
makedepends=(
'git'
'imagemagick'
)
provides=("cecilia")
conflicts=("cecilia")
_pkgsrc="$_pkgname"
source=("$_pkgsrc"::"git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgsrc"
git describe --long --tags --abbrev=7 \
| sed -E 's/^[^0-9]*//;s/([^-]*-g)/r\1/;s/-/./g'
}
package() {
depends+=(
'python'
'python-numpy'
'python-wxpython'
# AUR
'python-pyo'
)
cd "$_pkgsrc"
local _libdir="usr/lib/cecilia"
install -Dm644 "Cecilia5.py" -t "$pkgdir/$_libdir/"
cp -r --no-preserve=ownership --preserve=mode 'Resources/' "$pkgdir/$_libdir/Resources/"
install -Dm755 /dev/stdin "$pkgdir/usr/bin/$_pkgname" <<END
#!/bin/sh
cd '/$_libdir/'
exec python 'Cecilia5.py' "\$@"
END
install -Dm755 /dev/stdin "$pkgdir/usr/share/applications/$_pkgname.desktop" <<END
[Desktop Entry]
Type=Application
Name=Cecilia
Comment=Audio signal processing environment aimed at sound designers
Icon=$_pkgname
Exec=$_pkgname
Terminal=false
Categories=AudioVideo;Audio;
END
install -dm755 "$pkgdir/usr/share/pixmaps/"
convert "Resources/Cecilia5.ico[4]" "$pkgdir/usr/share/pixmaps/$_pkgname.png"
}
|