summaryrefslogtreecommitdiff
path: root/community/squeak-vm
diff options
context:
space:
mode:
Diffstat (limited to 'community/squeak-vm')
-rw-r--r--community/squeak-vm/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/squeak-vm/PKGBUILD b/community/squeak-vm/PKGBUILD
new file mode 100644
index 000000000..58fba3e21
--- /dev/null
+++ b/community/squeak-vm/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 76322 2012-09-15 22:08:09Z jsteel $
+# Maintainer: Jonathan Steel <mail at jsteel dot org>
+# Contributor: Piero Sartini <piero@sartini.de>
+# Contributor: Cilyan Olowen <gaknar@gmail.com>
+# Contributor: knut
+# Contributor: kxmd
+
+pkgname=squeak-vm
+pkgver=4.10.2.2602
+pkgrel=1
+pkgdesc="A full-featured implementation of the Smalltalk programming language
+ and environment"
+arch=('i686' 'x86_64')
+url="http://squeakvm.org"
+license=('custom:MIT' 'APACHE')
+conflicts=('squeak')
+provides=('squeak')
+depends=('alsa-lib' 'dbus-core' 'libxrender' 'libgl' 'util-linux')
+makedepends=('cmake' 'mesa')
+optdepends=('speex: for ogg plugin' 'gstreamer0.10: for gstreamer plugin'
+ 'libpulse: for pulse plugin' 'squeak-image: for the full Squeak
+ environment')
+source=(http://squeakvm.org/unix/release/Squeak-$pkgver-src.tar.gz)
+md5sums=('23b48480581c5a1c1bccf12e93611faf')
+
+build() {
+ cd "$srcdir"/Squeak-$pkgver-src/
+
+ ./unix/cmake/configure --prefix=/usr --without-quartz --with-x \
+ --enable-mpg-mmx
+
+ make
+}
+
+package() {
+ cd "$srcdir"/Squeak-$pkgver-src
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir"/Squeak-$pkgver-src/unix/doc/LICENSE \
+ "$pkgdir"/usr/share/licenses/squeak-vm/LICENSE
+}