[arch-commits] Commit in smalltalk/trunk (PKGBUILD smalltalk.install)

Alexander Rødseth arodseth at archlinux.org
Sat May 28 23:55:03 UTC 2016


    Date: Sunday, May 29, 2016 @ 01:55:03
  Author: arodseth
Revision: 177396

Compiles, but only for i686, and checks fail

Modified:
  smalltalk/trunk/PKGBUILD
Deleted:
  smalltalk/trunk/smalltalk.install

-------------------+
 PKGBUILD          |   38 ++++++++++++++++++++++++--------------
 smalltalk.install |   22 ----------------------
 2 files changed, 24 insertions(+), 36 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-28 23:39:54 UTC (rev 177395)
+++ PKGBUILD	2016-05-28 23:55:03 UTC (rev 177396)
@@ -1,30 +1,41 @@
 # $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# 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.5
-pkgrel=3
-pkgdesc='Implementation of Smalltalk-80'
+pkgver=3.2.91
+pkgrel=1
+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=('gdbm' 'gtk2' 'sqlite' 'tk' 'zip')
-install="$pkgname.install"
-source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz")
-sha256sums=('06e574e818ec49f0555d948ae53b1453d8c1df59ef597dad911a4fd1ffba1cce')
+makedepends=('gmp' 'gdbm' 'gtk2' 'sqlite' 'tk' 'zip' 'git')
+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-$pkgver"
+  cd "$pkgname"
 
+  export CFLAGS="$CFLAGS -w"
+  #export LFLAGS="-l"
   ./configure \
     --prefix=/usr \
     --libexecdir=/usr/lib/smalltalk \
@@ -37,17 +48,16 @@
     --with-tk \
     --with-x \
     --without-emacs
-
   echo '#define USE_INTERP_RESULT 1' >> config.h
   make
 }
 
-check() {
-  make -C "$pkgname-$pkgver" check
-}
+#check() {
+#  make -C "$pkgname" check
+#}
 
 package() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgname"
 
   make DESTDIR="$pkgdir" install
 

Deleted: smalltalk.install
===================================================================
--- smalltalk.install	2016-05-28 23:39:54 UTC (rev 177395)
+++ smalltalk.install	2016-05-28 23:55:03 UTC (rev 177396)
@@ -1,22 +0,0 @@
-infodir=usr/share/info
-filelist=(gst-base.info{,-1,-2,-3,-4,-5}.gz gst-libs.info{,-1,-2,-3}.gz gst.info{,-1,-2}.gz)
-
-post_install() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info $infodir/$file $infodir/dir 2> /dev/null
-  done
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
-  done
-}
-
-# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list