Skip to content

Instantly share code, notes, and snippets.

@budRich
Created November 28, 2021 18:35
Show Gist options
  • Save budRich/f57964c0a72fe48302c309c62c2e9125 to your computer and use it in GitHub Desktop.
Save budRich/f57964c0a72fe48302c309c62c2e9125 to your computer and use it in GitHub Desktop.
# Maintainer: bud
# Contributor: bud
pkgname=ucb-scheme
pkgver=4.0.1
pkgrel=3
pkgdesc="UCB Scheme - a modified version of STk 4.0.1"
arch=('x86_64')
url="http://wla.berkeley.edu/~scheme/"
license=('custom')
depends=()
makedepends=('rsync')
options=('emptydirs')
source=(
"http://wla.berkeley.edu/~scheme/precompiled/Linux/STk-4.0.1-ucb1.3.6.i386.rpm"
"http://wla.berkeley.edu/~scheme/source/src/stk/COPYRIGHTS"
)
md5sums=('452daeac1339dc737f798f33a057f22f'
'03a8ad417919bdbc70ff3f2cda247705')
package() {
rsync -ruDq $srcdir/usr $pkgdir
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYRIGHTS
cd "$pkgdir"
mkdir usr/bin 2> /dev/null; mv usr/local/bin/* usr/bin; rm -rf usr/local/bin
}
Copy link

ghost commented Mar 8, 2024

(In case someone is struggling with this)
It is important to note that some 32bit libs are required for this to work, most of which are in the [multilib] repository.
Here is the list of Arch packages that I installed to get it to work:
lib32-libsm
lib32-libx11
lib32-glibc
lib32-gcc-libs
lib32-ncurses
lib32-zlib

P.S. the multilib repo must be enabled in /etc/pacman.conf to be accessible through pacman.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment