[arch-commits] Commit in fcitx-googlepinyin/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 23:53:09 UTC 2018


    Date: Friday, November 9, 2018 @ 23:53:08
  Author: felixonmars
Revision: 405408

archrelease: copy trunk to community-staging-x86_64

Added:
  fcitx-googlepinyin/repos/community-staging-x86_64/
  fcitx-googlepinyin/repos/community-staging-x86_64/PKGBUILD
    (from rev 405407, fcitx-googlepinyin/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: fcitx-googlepinyin/repos/community-staging-x86_64/PKGBUILD (from rev 405407, fcitx-googlepinyin/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 23:53:08 UTC (rev 405408)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=fcitx-googlepinyin
+pkgver=0.1.6
+pkgrel=6
+pkgdesc="Fcitx Wrapper for googlepinyin"
+arch=('x86_64')
+url="https://github.com/fcitx/fcitx-googlepinyin"
+license=('GPL')
+depends=('fcitx' 'libgooglepinyin')
+makedepends=('cmake' 'intltool')
+source=("https://download.fcitx-im.org/$pkgname/$pkgname-$pkgver.tar.xz")
+md5sums=('7ee33bbb66d29536819b0d2f73b69713')
+
+build() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+
+  rm -rf build
+  mkdir build
+  cd build
+    
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
+  make
+}
+
+package() {
+  cd "$srcdir/${pkgname}-${pkgver}/build"
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list