[arch-commits] Commit in fcitx-libpinyin/repos (6 files)
Felix Yan
fyan at archlinux.org
Thu Feb 12 14:09:23 UTC 2015
Date: Thursday, February 12, 2015 @ 15:09:23
Author: fyan
Revision: 127607
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 127606, fcitx-libpinyin/trunk/PKGBUILD)
fcitx-libpinyin/repos/community-staging-i686/fcitx-libpinyin.install
(from rev 127606, fcitx-libpinyin/trunk/fcitx-libpinyin.install)
fcitx-libpinyin/repos/community-staging-x86_64/
fcitx-libpinyin/repos/community-staging-x86_64/PKGBUILD
(from rev 127606, fcitx-libpinyin/trunk/PKGBUILD)
fcitx-libpinyin/repos/community-staging-x86_64/fcitx-libpinyin.install
(from rev 127606, fcitx-libpinyin/trunk/fcitx-libpinyin.install)
--------------------------------------------------+
community-staging-i686/PKGBUILD | 35 +++++++++++++++++++++
community-staging-i686/fcitx-libpinyin.install | 11 ++++++
community-staging-x86_64/PKGBUILD | 35 +++++++++++++++++++++
community-staging-x86_64/fcitx-libpinyin.install | 11 ++++++
4 files changed, 92 insertions(+)
Copied: fcitx-libpinyin/repos/community-staging-i686/PKGBUILD (from rev 127606, fcitx-libpinyin/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-02-12 14:09:23 UTC (rev 127607)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: poplarch <poplarch at gmail.com>
+
+pkgname=fcitx-libpinyin
+pkgver=0.3.1
+pkgrel=2
+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-qt4' 'qtwebkit')
+makedepends=('cmake' 'intltool' 'wget')
+source=("http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz")
+install=$pkgname.install
+
+build() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+
+ rm -rf build
+ mkdir build
+ cd build
+
+ msg "Starting make..."
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}/build"
+ make DESTDIR="${pkgdir}" install
+}
+
+sha512sums=('3b7501a75dab2f5b83541c71ccac93709f3354f390f322d7b95e4b94e0c4dc6963522759ab52eb77203d787d6d14d3ce1c838dd92ecd0db041a3b7a25008eaa4')
Copied: fcitx-libpinyin/repos/community-staging-i686/fcitx-libpinyin.install (from rev 127606, fcitx-libpinyin/trunk/fcitx-libpinyin.install)
===================================================================
--- community-staging-i686/fcitx-libpinyin.install (rev 0)
+++ community-staging-i686/fcitx-libpinyin.install 2015-02-12 14:09:23 UTC (rev 127607)
@@ -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-libpinyin/repos/community-staging-x86_64/PKGBUILD (from rev 127606, fcitx-libpinyin/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-02-12 14:09:23 UTC (rev 127607)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: poplarch <poplarch at gmail.com>
+
+pkgname=fcitx-libpinyin
+pkgver=0.3.1
+pkgrel=2
+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-qt4' 'qtwebkit')
+makedepends=('cmake' 'intltool' 'wget')
+source=("http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz")
+install=$pkgname.install
+
+build() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+
+ rm -rf build
+ mkdir build
+ cd build
+
+ msg "Starting make..."
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}/build"
+ make DESTDIR="${pkgdir}" install
+}
+
+sha512sums=('3b7501a75dab2f5b83541c71ccac93709f3354f390f322d7b95e4b94e0c4dc6963522759ab52eb77203d787d6d14d3ce1c838dd92ecd0db041a3b7a25008eaa4')
Copied: fcitx-libpinyin/repos/community-staging-x86_64/fcitx-libpinyin.install (from rev 127606, fcitx-libpinyin/trunk/fcitx-libpinyin.install)
===================================================================
--- community-staging-x86_64/fcitx-libpinyin.install (rev 0)
+++ community-staging-x86_64/fcitx-libpinyin.install 2015-02-12 14:09:23 UTC (rev 127607)
@@ -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