[arch-commits] Commit in fcitx-sunpinyin/repos (6 files)

Felix Yan fyan at archlinux.org
Mon Dec 7 12:33:40 UTC 2015


    Date: Monday, December 7, 2015 @ 13:33:39
  Author: fyan
Revision: 149812

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  fcitx-sunpinyin/repos/community-staging-i686/
  fcitx-sunpinyin/repos/community-staging-i686/PKGBUILD
    (from rev 149808, fcitx-sunpinyin/trunk/PKGBUILD)
  fcitx-sunpinyin/repos/community-staging-i686/fcitx-sunpinyin.install
    (from rev 149808, fcitx-sunpinyin/trunk/fcitx-sunpinyin.install)
  fcitx-sunpinyin/repos/community-staging-x86_64/
  fcitx-sunpinyin/repos/community-staging-x86_64/PKGBUILD
    (from rev 149808, fcitx-sunpinyin/trunk/PKGBUILD)
  fcitx-sunpinyin/repos/community-staging-x86_64/fcitx-sunpinyin.install
    (from rev 149808, fcitx-sunpinyin/trunk/fcitx-sunpinyin.install)

--------------------------------------------------+
 community-staging-i686/PKGBUILD                  |   31 +++++++++++++++++++++
 community-staging-i686/fcitx-sunpinyin.install   |   11 +++++++
 community-staging-x86_64/PKGBUILD                |   31 +++++++++++++++++++++
 community-staging-x86_64/fcitx-sunpinyin.install |   11 +++++++
 4 files changed, 84 insertions(+)

Copied: fcitx-sunpinyin/repos/community-staging-i686/PKGBUILD (from rev 149808, fcitx-sunpinyin/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-07 12:33:39 UTC (rev 149812)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+
+pkgname=fcitx-sunpinyin
+pkgver=0.4.1
+pkgrel=2
+pkgdesc="Fcitx Wrapper for sunpinyin, Statistical Language Model based pinyin IME by Sun"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/fcitx"
+license=('GPL')
+install=fcitx-sunpinyin.install
+depends=('fcitx>=4.2.7' 'sunpinyin>2.0.3' 'sunpinyin-data' 'gtk-update-icon-cache')
+makedepends=('cmake')
+source=("http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}.tar.xz")
+
+build() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+
+  mkdir -p build
+  cd build
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
+  make
+}
+
+package() {
+  cd "$srcdir/${pkgname}-${pkgver}/build"
+  make DESTDIR="${pkgdir}" install
+}
+
+sha512sums=('7ad9065d86d7bb3ceb6536a0fe3559bf2ba60aebe69e2f07c8dadad1a0a2283a1b85712105c6c2a2bf19b9645c4392204db9c3d1db234618ba7f62ee44eda85c')

Copied: fcitx-sunpinyin/repos/community-staging-i686/fcitx-sunpinyin.install (from rev 149808, fcitx-sunpinyin/trunk/fcitx-sunpinyin.install)
===================================================================
--- community-staging-i686/fcitx-sunpinyin.install	                        (rev 0)
+++ community-staging-i686/fcitx-sunpinyin.install	2015-12-07 12:33:39 UTC (rev 149812)
@@ -0,0 +1,11 @@
+post_install() {
+    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}

Copied: fcitx-sunpinyin/repos/community-staging-x86_64/PKGBUILD (from rev 149808, fcitx-sunpinyin/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-07 12:33:39 UTC (rev 149812)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+
+pkgname=fcitx-sunpinyin
+pkgver=0.4.1
+pkgrel=2
+pkgdesc="Fcitx Wrapper for sunpinyin, Statistical Language Model based pinyin IME by Sun"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/fcitx"
+license=('GPL')
+install=fcitx-sunpinyin.install
+depends=('fcitx>=4.2.7' 'sunpinyin>2.0.3' 'sunpinyin-data' 'gtk-update-icon-cache')
+makedepends=('cmake')
+source=("http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}.tar.xz")
+
+build() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+
+  mkdir -p build
+  cd build
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
+  make
+}
+
+package() {
+  cd "$srcdir/${pkgname}-${pkgver}/build"
+  make DESTDIR="${pkgdir}" install
+}
+
+sha512sums=('7ad9065d86d7bb3ceb6536a0fe3559bf2ba60aebe69e2f07c8dadad1a0a2283a1b85712105c6c2a2bf19b9645c4392204db9c3d1db234618ba7f62ee44eda85c')

Copied: fcitx-sunpinyin/repos/community-staging-x86_64/fcitx-sunpinyin.install (from rev 149808, fcitx-sunpinyin/trunk/fcitx-sunpinyin.install)
===================================================================
--- community-staging-x86_64/fcitx-sunpinyin.install	                        (rev 0)
+++ community-staging-x86_64/fcitx-sunpinyin.install	2015-12-07 12:33:39 UTC (rev 149812)
@@ -0,0 +1,11 @@
+post_install() {
+    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}



More information about the arch-commits mailing list