summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-21 18:30:08 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-21 18:30:08 -0500
commitaf32dd2042e1cd34d946caf61e2c85510585d088 (patch)
tree80c0b0319c8cb41caf17c31b812ca59a2565ef0e
parent914023e747da96e063257823f59fd6350c7b0044 (diff)
minicomputer-1.41-3: rebuild
-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"