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

Felix Yan fyan at nymeria.archlinux.org
Wed Dec 18 10:35:07 UTC 2013


    Date: Wednesday, December 18, 2013 @ 11:35:07
  Author: fyan
Revision: 102734

upgpkg: ibus-chewing 1.4.4-1

Modified:
  ibus-chewing/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-12-18 03:40:48 UTC (rev 102733)
+++ PKGBUILD	2013-12-18 10:35:07 UTC (rev 102734)
@@ -6,8 +6,8 @@
 # Contributor: Hiroshi Yui <hiroshiyui at gmail.com>
 
 pkgname=ibus-chewing
-pkgver=1.4.3
-pkgrel=2
+pkgver=1.4.4
+pkgrel=1
 pkgdesc='Chinese Chewing Engine for IBus Framework'
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -14,12 +14,11 @@
 url='http://ibus.googlecode.com'
 depends=('ibus' 'libchewing' 'libxtst' 'gconf')
 makedepends=('swig' 'cmake' 'gob2')
-options=('!makeflags')
 install=ibus-chewing.install
 source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}-Source.tar.gz")
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}-Source"
+  cd ${pkgname}-${pkgver}-Source
   cmake . -DCMAKE_INSTALL_PREFIX=/usr \
     -DSYSCONF_INSTALL_DIR=/usr/share \
     -DLIBEXEC_DIR=/usr/lib/ibus
@@ -27,7 +26,12 @@
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}-Source"
+  cd ${pkgname}-${pkgver}-Source
   make DESTDIR="${pkgdir}" install
+
+  mkdir -p "$pkgdir/usr/share/gconf/schemas"
+  mv "$pkgdir/etc/gconf/schemas/${pkgname}.schemas" "$pkgdir/usr/share/gconf/schemas/"
+  rm -r "$pkgdir/etc"
 }
-md5sums=('20b1d553ba14cecabcf7418e91da353b')
+
+sha512sums=('47581bca46d1a8f0f10f13887d5db37cf1ca3531e1a05fea516ea10fec59d4b0c2f629b5a291b1aed77e642efa3d456670c8f7fcaff460b187e3b7fc8220f2d6')




More information about the arch-commits mailing list