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

Eric Bélanger eric at archlinux.org
Sat Feb 28 00:08:02 UTC 2009


    Date: Friday, February 27, 2009 @ 19:08:01
  Author: eric
Revision: 28124

upgpkg: scim 1.4.8-1
    upstream update, fixed install scriptlet, changed gcc depends to gcc-libs

Modified:
  scim/trunk/PKGBUILD
  scim/trunk/scim.install

--------------+
 PKGBUILD     |   32 +++++++++++++-------------------
 scim.install |   19 ++-----------------
 2 files changed, 15 insertions(+), 36 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-02-28 00:05:25 UTC (rev 28123)
+++ PKGBUILD	2009-02-28 00:08:01 UTC (rev 28124)
@@ -1,32 +1,26 @@
 # $Id$
 # Maintainer: damir <damir at archlinux.org>
-# Contributer: Gan Lu <rhythm.gan at gmail.com>
+# Contributor: Gan Lu <rhythm.gan at gmail.com>
 
 pkgname=scim
-pkgver=1.4.7
+pkgver=1.4.8
 pkgrel=1
 pkgdesc="A Input Method development platform"
 arch=("i686" "x86_64")
-depends=('gtk2' 'gcc')
-makedepends=('intltool')
-install=scim.install
 url="http://www.scim-im.org/projects/scim"
 license=('GPL')
+depends=('gtk2' 'gcc-libs')
+makedepends=('intltool')
+options=('!libtool')
+install=scim.install
 source=(http://downloads.sourceforge.net/sourceforge/scim/$pkgname-$pkgver.tar.gz)
-md5sums=('840dcfd4264a1443478c188ff747984e')
+md5sums=('c52da019d48df4ba44cbd01558203cc7')
 
 build() {
-     cd $startdir/src/$pkgname-$pkgver
-        ./configure --prefix=/usr\
-                    --sysconfdir=/etc\
-                    --with-gnu-ld \
-                    --with-x \
-                    --disable-config-gconf \
-                    --disable-static \
-                    # --enable-debug --enable-tests # use with --nostrip
-        make || return 1
-        make DESTDIR=$startdir/pkg install
-     # say goodbye to .la files:
-     find $startdir/pkg -name '*.la' -exec rm {} \;
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc \
+    --with-gnu-ld --with-x \
+    --disable-config-gconf --disable-static || return 1
+  make || return 1
+  make DESTDIR=$startdir/pkg install || return 1
 }
-

Modified: scim.install
===================================================================
--- scim.install	2009-02-28 00:05:25 UTC (rev 28123)
+++ scim.install	2009-02-28 00:08:01 UTC (rev 28124)
@@ -1,28 +1,13 @@
-# arg 1:  the new package version
 post_install() {
   echo -n "updating gtk.immodules... "
   /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
   echo "done."
 }
 
-# arg 1:  the new package version
-# arg 2:  the old package version
 post_upgrade() {
-  /bin/true
+  post_install
 }
 
-# arg 1:  the old package version
-pre_remove() {
-  /bin/true
-}
-
-# arg 1:  the old package version
 post_remove() {
-  echo -n "updating gtk.immodules... "
-  /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
-  echo "done."
+  post_install
 }
-
-op=$1
-shift
-$op $*




More information about the arch-commits mailing list