summaryrefslogtreecommitdiff
path: root/pcr/mit-scheme/PKGBUILD
blob: 19746a3423cec16988fd3aeb218e85dbf723b358 (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
# Contributor (Arch)   : Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor (Arch)   : peter feigl <peter.feigl@gmail.com>
# Maintainer (Parabola): Aurélien DESBRIÈRES <aurelien@hackers.camp>

pkgname=mit-scheme
pkgver=9.2
pkgrel=1.2
pkgdesc='MIT/GNU Scheme'
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url='http://www.gnu.org/software/mit-scheme/'
depends=('glibc' 'ncurses' 'zlib')
optdepends=('openssl: support for openssl')

if [[ $CARCH == i686 ]]; then
  _arch=i386
  md5sums=('b80458f85b9521bdfb0620edc89e3e61')
else
  _arch=x86-64
  md5sums=('9fcc6c156e53efeb0560996551fa0a57')
fi
source=(http://ftp.gnu.org/gnu/$pkgname/stable.pkg/$pkgver/$pkgname-$pkgver-$_arch.tar.gz)

build() {
  cd $pkgname-$pkgver/src
  ./configure --prefix=/usr \
    --with-x \
    --enable-native-code
  make
}

package() {
  cd $pkgname-$pkgver/src
  make DESTDIR="$pkgdir" install
}