blob: 70016c238d6fbc1ce3d56b5a5614855fe72173ea (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# $Id: PKGBUILD 69236 2012-04-10 21:23:38Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: mrshpot <mrshpot at gmail dot com>
# Contributor: Michael Fellinger <m.fellinger@gmail.com>
pkgname=smalltalk
pkgver=3.2.4
pkgrel=6
pkgdesc='Implementation of Smalltalk-80'
url='http://smalltalk.gnu.org/'
license=('GPL' 'LGPL')
arch=('x86_64' 'i686')
options=('!libtool' '!emptydirs')
depends=('gmp' 'libffi' 'libsigsegv' 'readline' 'libltdl')
makedepends=('gdbm' 'gtk2' 'sqlite' 'tk' 'zip')
install=smalltalk.install
source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('901cc7090a1fa44bc60900a970d207de4aa3bdfdce72bea55114e243bc1eb1b3')
optdepends=('tk: for gst-blox'
'sqlite: database in a file'
'sed: for examples'
'gtk2: GUI toolkit')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/smalltalk \
--with-imagedir=/var/lib/smalltalk \
--enable-gtk=yes \
--with-system-libffi \
--with-system-libsigsegv \
--with-readline \
--with-tcl \
--with-tk \
--with-x \
--without-emacs
make
}
check() {
cd "$srcdir/$pkgname-$pkgver"
# make check
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
# fix manpage symlink
rm -f "$pkgdir/usr/share/man/man1/gst-reload.1"
ln -s gst-load.1 "$pkgdir/usr/share/man/man1/gst-reload.1"
}
# vim:set ts=2 sw=2 et:
|