summaryrefslogtreecommitdiff
path: root/community/smalltalk
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-02 00:01:14 +0000
committerroot <root@rshg054.dnsready.net>2012-04-02 00:01:14 +0000
commit8ebbe4e4befac1396a153b356fc9793655dde4ff (patch)
treeb957bcef566f4da47b8d4a406c64837ec6e3b2e7 /community/smalltalk
parent939efb693a8b362edc0c6ccba62c5ce54fb501af (diff)
Mon Apr 2 00:01:14 UTC 2012
Diffstat (limited to 'community/smalltalk')
-rw-r--r--community/smalltalk/PKGBUILD8
-rw-r--r--community/smalltalk/smalltalk.install21
2 files changed, 25 insertions, 4 deletions
diff --git a/community/smalltalk/PKGBUILD b/community/smalltalk/PKGBUILD
index eeacd6d27..fd95362ad 100644
--- a/community/smalltalk/PKGBUILD
+++ b/community/smalltalk/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 62241 2012-01-18 17:54:17Z tdziedzic $
+# $Id: PKGBUILD 68673 2012-03-31 10:11:37Z rvanharen $
# 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=4
+pkgrel=5
pkgdesc='A free implementation of Smalltalk-80 by the GNU project'
url='http://smalltalk.gnu.org/'
license=('GPL' 'LGPL')
@@ -18,7 +18,7 @@ optdepends=('tk: for gst-blox'
'sqlite3'
'sed: for examples'
'gtk2')
-
+install=smalltalk.install
source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('a36a7c9beddca08dc492b500738efc82')
@@ -41,7 +41,7 @@ build() {
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make check
+# make check
}
package() {
diff --git a/community/smalltalk/smalltalk.install b/community/smalltalk/smalltalk.install
new file mode 100644
index 000000000..992e4edfb
--- /dev/null
+++ b/community/smalltalk/smalltalk.install
@@ -0,0 +1,21 @@
+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
+}
+