[arch-commits] Commit in ibus-table-chinese/trunk (PKGBUILD)

Felix Yan fyan at nymeria.archlinux.org
Sat Jun 7 15:33:29 UTC 2014


    Date: Saturday, June 7, 2014 @ 17:33:28
  Author: fyan
Revision: 112802

upgpkg: ibus-table-chinese 1.8.0-1

Modified:
  ibus-table-chinese/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-07 15:18:40 UTC (rev 112801)
+++ PKGBUILD	2014-06-07 15:33:28 UTC (rev 112802)
@@ -4,25 +4,34 @@
 # Contributor: Hiroshi Yui <hiroshiyui at gmail.com>
 
 pkgname=ibus-table-chinese
-pkgver=1.4.6
-pkgrel=2
+pkgver=1.8.0
+pkgrel=1
 pkgdesc="Some table-based input method of tables engines for IBus"
 arch=('any')
 url="http://code.google.com/p/ibus/"
 license=('GPL3')
 depends=('ibus-table')
-makedepends=('cmake')
-source=(http://ibus.googlecode.com/files/$pkgname-$pkgver-Source.tar.gz)
-sha1sums=('c0777087b81a29bc32c86838d214ce31ce3424f6')
+makedepends=('cmake' 'git')
+source=("git+https://github.com/definite/ibus-table-chinese.git#tag=$pkgver"
+        "git+http://git.fedorahosted.org/git/cmake-fedora.git")
+sha1sums=('SKIP'
+          'SKIP')
 
+prepare() {
+  cd $pkgname
+  git submodule init
+  git config submodule."cmake-fedora".url "$srcdir/cmake-fedora"
+  git submodule update
+}
+
 build() {
-  cd $pkgname-$pkgver-Source
+  cd $pkgname
   cmake . -DCMAKE_INSTALL_PREFIX='/usr' -DLIBEXEC_DIR='/usr/lib'
   make
 }
 
 package() {
-  cd $pkgname-$pkgver-Source
+  cd $pkgname
   make DESTDIR="$pkgdir/" install
 }
 




More information about the arch-commits mailing list