summaryrefslogtreecommitdiff
path: root/pcr/minicomputer/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/minicomputer/PKGBUILD')
-rw-r--r--pcr/minicomputer/PKGBUILD27
1 files changed, 14 insertions, 13 deletions
diff --git a/pcr/minicomputer/PKGBUILD b/pcr/minicomputer/PKGBUILD
index 4888c999f..ff9bcf5dd 100644
--- a/pcr/minicomputer/PKGBUILD
+++ b/pcr/minicomputer/PKGBUILD
@@ -1,10 +1,13 @@
-# Maintainer: Guest One <theguestone at gmail dot com>
+# 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=1
+pkgrel=3
pkgdesc="A standalone Linux softwaresynthesizer for creating experimental electronic sounds."
-arch=('i686')
+arch=('i686' 'x86_64')
url="http://minicomputer.sourceforge.net"
license=('GPL3')
depends=('fltk' 'jack' 'liblo')
@@ -15,24 +18,22 @@ source=("http://downloads.sourceforge.net/sourceforge/$pkgname/MinicomputerV$pkg
md5sums=('d2524f5fee7475159292e29a5bcd73d2'
'3cc74321d55870b1684767255c74c2f8')
-build() {
- cd "$srcdir"
-
+prepare() {
# installpresets.sh fix
sed -i "s|factory|/usr/share/$pkgname/&|g" installpresets.sh
- # 'R_OK' was not declared fix
- sed -i '/#include <cstdlib>/a#include <unistd.h>' editor/Memory.h
-
# DSO linking fix
sed -i "35aenv.Append(LINKFLAGS = ['-lm'])" -i SConstruct
- # build
- LDFLAGS="LDFLAGS -lm" scons
+ # missing includes
+ sed -i '30a#include <unistd.h>' editor/Memory.h
}
-package() {
- cd "$srcdir"
+build() {
+ scons
+}
+
+package() {
# bin
install -d "$pkgdir/usr/bin"
install -Dm755 "$pkgname"{,CPU} "$pkgdir/usr/bin"