updated on Wed Jan 11 20:01:35 UTC 2012
[aur-mirror.git] / squeak-vm / PKGBUILD
blob2b19b081925c8b4ed02ccb5558f84023e0b4e3a4
1 # Contributor: Piero Sartini <piero@sartini.de>
2 # Contributor: Cilyan Olowen <gaknar@gmail.com>
3 # Contributor: knut
4 # Contributor: kxmd
6 pkgname=squeak-vm
7 pkgver=4.4.7.2357
8 pkgrel=1
9 pkgdesc="a full-featured implementation of the Smalltalk programming language and environment"
10 arch=('i686' 'x86_64')
11 url="http://www.squeak.org/"
12 license=('custom:MIT' 'APACHE')
13 conflicts=('squeak')
14 provides=('squeak')
15 depends=('alsa-lib' 'libxt' 'libxrender' 'libgl')
16 makedepends=('cmake')
17 optdepends=('speex: for ogg plugin' 'gstreamer0.10: for gstreamer plugin' 'libpulse: for pulse plugin' 'squeak-image: for the full Squeak environment')
18 source=(http://ftp.squeak.org/4.2/unix-linux/Squeak-$pkgver-src.tar.gz)
19 md5sums=('49c60cae3f3ea84d45655ea792df0272')
21 build() {
22   cd "${srcdir}/Squeak-$pkgver-src/"
23   # Create build directory
24   [ -d build ] && rm -rf build/
25   install -d build
26   cd build
27   # Build program
28   ../unix/cmake/configure --prefix=/usr \
29                           --without-quartz \
30                           --with-x \
31                           --enable-mpg-mmx || return 1
32   make || return 1
33   make DESTDIR="$pkgdir" install
34   # Install license
35   mkdir -p $pkgdir/usr/share/licenses/squeak
36   install "${srcdir}/Squeak-$pkgver-src/unix/doc/LICENSE" $pkgdir/usr/share/licenses/squeak
37   #rm -f $pkgdir/usr/bin/squeak.sh
40 # vim:set ts=2 sw=2 et: