[arch-commits] Commit in smalltalk/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Mon Nov 7 17:24:52 UTC 2016
Date: Monday, November 7, 2016 @ 17:24:51
Author: bpiotrowski
Revision: 194923
archrelease: copy trunk to community-staging-x86_64, community-staging-i686
Added:
smalltalk/repos/community-staging-i686/
smalltalk/repos/community-staging-i686/PKGBUILD
(from rev 194922, smalltalk/trunk/PKGBUILD)
smalltalk/repos/community-staging-x86_64/
smalltalk/repos/community-staging-x86_64/PKGBUILD
(from rev 194922, smalltalk/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 72 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 72 ++++++++++++++++++++++++++++++++++++
2 files changed, 144 insertions(+)
Copied: smalltalk/repos/community-staging-i686/PKGBUILD (from rev 194922, smalltalk/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-11-07 17:24:51 UTC (rev 194923)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: mrshpot <mrshpot at gmail dot com>
+# Contributor: Michael Fellinger <m.fellinger at gmail.com>
+
+pkgname=smalltalk
+pkgver=3.2.91
+pkgrel=3
+pkgdesc='GNU Smalltalk interpreter and libraries'
+url='http://smalltalk.gnu.org/'
+license=('GPL' 'LGPL')
+arch=('x86_64' 'i686')
+options=('!emptydirs' 'staticlibs')
+depends=('gmp' 'libffi' 'libsigsegv' 'readline' 'libltdl')
+makedepends=('gmp' 'gdbm' 'gtk2' 'sqlite' 'tk' 'zip' 'git')
+# Use latest commit where "make check" works. Found with git bisect:
+source=("git://git.sv.gnu.org/smalltalk.git#commit=edb6bad6950c787f4b4c7f8ac5f7047ac1e8b984")
+#source=("git://git.sv.gnu.org/smalltalk.git#tag=$pkgver")
+md5sums=('SKIP')
+optdepends=('tk: for gst-blox'
+ 'sqlite: database in a file'
+ 'sed: for examples'
+ 'gtk2: GUI toolkit')
+
+prepare() {
+ cd "$pkgname"
+
+ autoreconf -vi
+ sed 's/int yylineno = 1;//g' -i libgst/genpr-scan.l
+ sed 's/int yylineno = 1;//g' -i libgst/genvm-scan.l
+ sed 's/int yylineno = 1;//g' -i libgst/genbc-scan.l
+}
+
+build() {
+ cd "$pkgname"
+
+ export CFLAGS="$CFLAGS -w"
+ if [[ $CARCH == i686 ]]; then
+ export CFLAGS="$CFLAGS -m32"
+ fi
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/smalltalk \
+ --with-imagedir=/var/lib/smalltalk \
+ --enable-gtk=yes \
+ --with-readline \
+ --with-tcl \
+ --with-x \
+ --without-emacs \
+ --with-tk \
+ --with-system-libffi \
+ --with-system-libsigsegv
+ echo '#define USE_INTERP_RESULT 1' >> config.h
+ make -j1
+}
+
+check() {
+ make -C "$pkgname" check
+}
+
+package() {
+ cd "$pkgname"
+
+ 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:
Copied: smalltalk/repos/community-staging-x86_64/PKGBUILD (from rev 194922, smalltalk/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-11-07 17:24:51 UTC (rev 194923)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: mrshpot <mrshpot at gmail dot com>
+# Contributor: Michael Fellinger <m.fellinger at gmail.com>
+
+pkgname=smalltalk
+pkgver=3.2.91
+pkgrel=3
+pkgdesc='GNU Smalltalk interpreter and libraries'
+url='http://smalltalk.gnu.org/'
+license=('GPL' 'LGPL')
+arch=('x86_64' 'i686')
+options=('!emptydirs' 'staticlibs')
+depends=('gmp' 'libffi' 'libsigsegv' 'readline' 'libltdl')
+makedepends=('gmp' 'gdbm' 'gtk2' 'sqlite' 'tk' 'zip' 'git')
+# Use latest commit where "make check" works. Found with git bisect:
+source=("git://git.sv.gnu.org/smalltalk.git#commit=edb6bad6950c787f4b4c7f8ac5f7047ac1e8b984")
+#source=("git://git.sv.gnu.org/smalltalk.git#tag=$pkgver")
+md5sums=('SKIP')
+optdepends=('tk: for gst-blox'
+ 'sqlite: database in a file'
+ 'sed: for examples'
+ 'gtk2: GUI toolkit')
+
+prepare() {
+ cd "$pkgname"
+
+ autoreconf -vi
+ sed 's/int yylineno = 1;//g' -i libgst/genpr-scan.l
+ sed 's/int yylineno = 1;//g' -i libgst/genvm-scan.l
+ sed 's/int yylineno = 1;//g' -i libgst/genbc-scan.l
+}
+
+build() {
+ cd "$pkgname"
+
+ export CFLAGS="$CFLAGS -w"
+ if [[ $CARCH == i686 ]]; then
+ export CFLAGS="$CFLAGS -m32"
+ fi
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/smalltalk \
+ --with-imagedir=/var/lib/smalltalk \
+ --enable-gtk=yes \
+ --with-readline \
+ --with-tcl \
+ --with-x \
+ --without-emacs \
+ --with-tk \
+ --with-system-libffi \
+ --with-system-libsigsegv
+ echo '#define USE_INTERP_RESULT 1' >> config.h
+ make -j1
+}
+
+check() {
+ make -C "$pkgname" check
+}
+
+package() {
+ cd "$pkgname"
+
+ 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:
More information about the arch-commits
mailing list