[arch-commits] Commit in fcitx/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Thu Nov 18 21:32:39 UTC 2010


    Date: Thursday, November 18, 2010 @ 16:32:39
  Author: andrea
Revision: 99861

upgpkg: fcitx 4.0.0-1
upstream release

Modified:
  fcitx/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-11-18 21:09:52 UTC (rev 99860)
+++ PKGBUILD	2010-11-18 21:32:39 UTC (rev 99861)
@@ -1,23 +1,27 @@
 # $Id$
-# Maintainer: damir <damir at archlinux.org>
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
 # Contributor: damir <damir at archlinux.org>
 
 pkgname=fcitx
-pkgver=3.6.3
-pkgrel=2
-pkgdesc="Free Chinese Input Toy of X - Input Method Server for X window system (XIM)"
+pkgver=4.0.0
+pkgrel=1
+pkgdesc="Free Chinese Input Toy of X, a collection of Simplified Chinese input methods for Linux"
 arch=('i686' 'x86_64')
-url="http://www.fcitx.org/"
+url="http://code.google.com/p/fcitx/"
 license=('GPL')
-depends=('libxft' 'libxpm' 'libxtst' 'dbus-core')
-source=(http://www.fcitx.org/download/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('b1da30c72374d7b3d70738493d44d300')
-sha1sums=('ab3af3cdaba32ac9ff054b1964a483ca07b427dd')
+depends=('dbus-core' 'pango')
+makedepends=('intltool')
+options=('!libtool')
+source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('43efdb2836a1640b49b8cde3b64923847f5673f0')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  sed -i 's#python#python2#' tools/winmb2fcitx.py
-  ./configure --prefix=/usr || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+  ./configure --prefix=/usr
+  make
 }
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}




More information about the arch-commits mailing list