Package Details: scmutils 20140302-2

Git Clone URL: https://aur.archlinux.org/scmutils.git (read-only)
Package Base: scmutils
Description: Scheme library for the book Structure and Interpretation of Classical Mechanics.
Upstream URL: http://mitpress.mit.edu/sicm/
Keywords: scheme
Licenses: GPL
Submitter: snowball
Maintainer: spelufo
Last Packager: spelufo
Votes: 3
Popularity: 0.057549
First Submitted: 2011-07-15 22:45
Last Updated: 2015-07-09 21:44

Latest Comments

andres commented on 2019-09-04 23:47

Updated that PKGBUILD seems to wotk with the Fall 2019 edition:

    pkgname=scmutils
    pkgver=20190830
    pkgrel=1
    pkgdesc="Scheme library for the book Structure and Interpretation of Classical arch=('x86_64')
    url="<http://mitpress.mit.edu/sicm/>"
    license=('GPL')
    depends=('mit-scheme')
    makedepends=()
    optdepends=()
    conflicts=()
    source=("<https://groups.csail.mit.edu/mac/users/gjs/6946/>$pkgname-$pkgver.tar.gz")
    md5sums=('e37c591005a925ce2e4e900671a239a3')

    package() {
            TARGET="$pkgdir/usr/lib/mit-scheme-x86-64/"
            mkdir -p "$TARGET"
            cd "$srcdir/scmutils-$pkgver/"


            for SRC in $(find * -type f -name '*.bci'); do
                install -d "${TARGET}"scmutils/"$(dirname "${SRC}")"
                cp -a "${SRC}" "${TARGET}"scmutils/"${SRC}"
            done
            cp -a mechanics.com "${TARGET}".
    }

spelufo commented on 2015-07-09 21:52

I changed the package so that instead of using the mit-scheme from the tarball, it dependends on mit-scheme and only takes the library from the tarball. It seems to work fine. To start the REPL with the library loaded you do `scheme --band edwin-mechanics.com [--edit]`. The --edit option starts it in edwin.

NOTtheMessiah commented on 2014-02-16 04:54

# x86_64 version of PKGBUILD, still installs to /usr/local and needs work
pkgname=scmutils
pkgver=20130901
pkgrel=1
pkgdesc="MIT Scheme with the Scmutils numerical and algebraic packages built in"
arch=('x86_64')
url="http://mitpress.mit.edu/sicm/"
license=('GPL')
depends=()
makedepends=()
optdepends=()
conflicts=()
source=(http://groups.csail.mit.edu/mac/users/gjs/6946/scmutils-tarballs/$pkgname-$pkgver-x86-64-gnu-linux.tar.gz)
md5sums=('0e731609a688b007c829fe7d101d953f')

package() {
mkdir -p "$pkgdir/usr/local"
cp -R "$srcdir/scmutils" "$pkgdir/usr/local"
cp -R "$srcdir/bin" "$pkgdir/usr/local"
}