blob: ff9bcf5dde6f428fa98856c0469b35022d4d0490 (
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
|
# Maintainer (Arch): speps <speps at aur dot archlinux dot org>
# Contributor (Arch): farid abdelnour <farid at archlinux-br.org>
# Contributor (Arch): DonVla <donvla@users.sourceforge.net>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=minicomputer
pkgver=1.41
pkgrel=3
pkgdesc="A standalone Linux softwaresynthesizer for creating experimental electronic sounds."
arch=('i686' 'x86_64')
url="http://minicomputer.sourceforge.net"
license=('GPL3')
depends=('fltk' 'jack' 'liblo')
makedepends=('scons')
install="$pkgname.install"
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/MinicomputerV$pkgver.tar.gz"
"$pkgname.desktop")
md5sums=('d2524f5fee7475159292e29a5bcd73d2'
'3cc74321d55870b1684767255c74c2f8')
prepare() {
# installpresets.sh fix
sed -i "s|factory|/usr/share/$pkgname/&|g" installpresets.sh
# DSO linking fix
sed -i "35aenv.Append(LINKFLAGS = ['-lm'])" -i SConstruct
# missing includes
sed -i '30a#include <unistd.h>' editor/Memory.h
}
build() {
scons
}
package() {
# bin
install -d "$pkgdir/usr/bin"
install -Dm755 "$pkgname"{,CPU} "$pkgdir/usr/bin"
# icon
install -Dm644 $pkgname.xpm \
"$pkgdir/usr/share/pixmaps/$pkgname.xpm"
# desktop file
install -Dm644 $pkgname.desktop \
"$pkgdir/usr/share/applications/$pkgname.desktop"
# presets
install -d "$pkgdir/usr/share/$pkgname/factoryPresets"
install -Dm644 factoryPresets/* "$pkgdir/usr/share/$pkgname/factoryPresets"
# doc
install -Dm644 "$pkgname"Manual.pdf \
"$pkgdir/usr/share/doc/$pkgname/Manual.pdf"
# presets installer script
install -Dm755 installpresets.sh \
"$pkgdir/usr/share/$pkgname/installpresets.sh"
}
# vim:set ts=2 sw=2 et:
|