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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:42:06 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:42:06
  Author: felixonmars
Revision: 658569

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 658567, fcitx-googlepinyin/trunk/PKGBUILD)

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

Copied: fcitx-googlepinyin/repos/community-staging-x86_64/PKGBUILD (from rev 658567, fcitx-googlepinyin/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:42:06 UTC (rev 658569)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=fcitx-googlepinyin
+pkgver=0.1.6
+pkgrel=7
+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