summaryrefslogtreecommitdiff
path: root/community/smalltalk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/smalltalk/PKGBUILD')
-rw-r--r--community/smalltalk/PKGBUILD20
1 files changed, 16 insertions, 4 deletions
diff --git a/community/smalltalk/PKGBUILD b/community/smalltalk/PKGBUILD
index 3c9a6080d..eb69eeed3 100644
--- a/community/smalltalk/PKGBUILD
+++ b/community/smalltalk/PKGBUILD
@@ -1,19 +1,23 @@
-# $Id: PKGBUILD 59718 2011-11-29 13:35:33Z stephane $
+# $Id: PKGBUILD 62241 2012-01-18 17:54:17Z tdziedzic $
# Maintainer: 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=3
+pkgrel=4
pkgdesc='A free implementation of Smalltalk-80 by the GNU project'
url='http://smalltalk.gnu.org/'
license=('GPL' 'LGPL')
arch=('i686' 'x86_64' 'mips64el')
-options=('!libtool')
+options=('!libtool' '!emptydirs')
-depends=('gmp' 'libffi' 'libsigsegv' 'readline')
+depends=('gmp' 'libffi' 'libsigsegv' 'readline' 'libltdl')
makedepends=('gdbm' 'gtk2' 'sqlite3' 'tk' 'zip')
+optdepends=('tk: for gst-blox'
+ 'sqlite3'
+ 'sed: for examples'
+ 'gtk2')
source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('a36a7c9beddca08dc492b500738efc82')
@@ -30,8 +34,16 @@ build() {
--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