[arch-commits] Commit in fcitx-libpinyin/repos (4 files)

Felix Yan felixonmars at archlinux.org
Fri Feb 24 07:41:49 UTC 2017


    Date: Friday, February 24, 2017 @ 07:41:48
  Author: felixonmars
Revision: 213681

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

Added:
  fcitx-libpinyin/repos/community-staging-i686/
  fcitx-libpinyin/repos/community-staging-i686/PKGBUILD
    (from rev 213680, fcitx-libpinyin/trunk/PKGBUILD)
  fcitx-libpinyin/repos/community-staging-x86_64/
  fcitx-libpinyin/repos/community-staging-x86_64/PKGBUILD
    (from rev 213680, fcitx-libpinyin/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   35 +++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

Copied: fcitx-libpinyin/repos/community-staging-i686/PKGBUILD (from rev 213680, fcitx-libpinyin/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-02-24 07:41:48 UTC (rev 213681)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: poplarch <poplarch at gmail.com>
+
+pkgname=fcitx-libpinyin
+pkgver=0.5.1
+_model=model.text.20161206.tar.gz
+pkgrel=1
+pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
+arch=('i686' 'x86_64')
+url="https://github.com/fcitx/fcitx-libpinyin"
+license=('GPL')
+depends=('fcitx' 'libpinyin' 'fcitx-qt5' 'qt5-webengine')
+makedepends=('cmake' 'git')
+source=("git+https://github.com/fcitx/fcitx-libpinyin.git#tag=$pkgver"
+        "http://download.fcitx-im.org/data/$_model")
+sha512sums=('SKIP'
+            '26450e347b7a211e5abd94acbb9befc8cee7d8fc20e5161ef11b8b9b1ad47cde4f1add5c41484d9af04e4dde2aa748090e297e799ee7f6d2f9fcec3873eee429')
+
+prepare() {
+  mkdir build
+  ln -s "$srcdir"/$_model fcitx-libpinyin/data/
+}
+
+build() {
+  cd build
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../$pkgname
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: fcitx-libpinyin/repos/community-staging-x86_64/PKGBUILD (from rev 213680, fcitx-libpinyin/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-02-24 07:41:48 UTC (rev 213681)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: poplarch <poplarch at gmail.com>
+
+pkgname=fcitx-libpinyin
+pkgver=0.5.1
+_model=model.text.20161206.tar.gz
+pkgrel=1
+pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
+arch=('i686' 'x86_64')
+url="https://github.com/fcitx/fcitx-libpinyin"
+license=('GPL')
+depends=('fcitx' 'libpinyin' 'fcitx-qt5' 'qt5-webengine')
+makedepends=('cmake' 'git')
+source=("git+https://github.com/fcitx/fcitx-libpinyin.git#tag=$pkgver"
+        "http://download.fcitx-im.org/data/$_model")
+sha512sums=('SKIP'
+            '26450e347b7a211e5abd94acbb9befc8cee7d8fc20e5161ef11b8b9b1ad47cde4f1add5c41484d9af04e4dde2aa748090e297e799ee7f6d2f9fcec3873eee429')
+
+prepare() {
+  mkdir build
+  ln -s "$srcdir"/$_model fcitx-libpinyin/data/
+}
+
+build() {
+  cd build
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../$pkgname
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list