[arch-commits] Commit in scim-tables/trunk (PKGBUILD)
Gaetan Bisson
bisson at archlinux.org
Tue Feb 22 20:15:33 UTC 2011
Date: Tuesday, February 22, 2011 @ 15:15:32
Author: bisson
Revision: 110895
various cleanup
Modified:
scim-tables/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-02-22 20:15:30 UTC (rev 110894)
+++ PKGBUILD 2011-02-22 20:15:32 UTC (rev 110895)
@@ -1,23 +1,27 @@
# $Id$
-# Maintainer: damir <damir at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
# Contributor: Gan Lu <rhythm.gan at gmail.com>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
pkgname=scim-tables
pkgver=0.5.9
-pkgrel=1
-pkgdesc="SCIM multi language input method engine (including CJK)"
+pkgrel=2
+pkgdesc='Generic table input method module for SCIM'
arch=('i686' 'x86_64')
-url="http://www.scim-im.org/"
+url='http://www.scim-im.org/'
license=('GPL')
-depends=('scim>=1.4.8')
+depends=('scim')
options=('!libtool')
-source=(http://downloads.sourceforge.net/sourceforge/scim/$pkgname-$pkgver.tar.gz)
-md5sums=('ef7d54966d0b07b1db49358213558065')
+source=("http://downloads.sourceforge.net/sourceforge/scim/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('aeca1c8a2eb10a214edc07fa248cd7450f78e387')
build() {
- cd $srcdir/$pkgname-$pkgver
-# sed -i "s#<string>#<cstring>#" src/scim_generic_table.h || return 1
- ./configure --prefix=/usr --disable-static || return 1
- make || return 1
- make DESTDIR=$pkgdir install || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --enable-static=no
+ make
}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list