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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:53:41 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:53:41
  Author: felixonmars
Revision: 658270

archrelease: copy trunk to community-staging-x86_64

Added:
  libgooglepinyin/repos/community-staging-x86_64/
  libgooglepinyin/repos/community-staging-x86_64/PKGBUILD
    (from rev 658269, libgooglepinyin/trunk/PKGBUILD)

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

Copied: libgooglepinyin/repos/community-staging-x86_64/PKGBUILD (from rev 658269, libgooglepinyin/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 12:53:41 UTC (rev 658270)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Author: CSSlayer <wengxt at gmail.com>
+# Contributor: Yangtse <yangtsesu at gmail.com>
+
+pkgname=libgooglepinyin
+pkgver=0.1.2
+pkgrel=5
+pkgdesc="A fork from google pinyin on android"
+arch=('x86_64')
+url="https://code.google.com/archive/p/libgooglepinyin/"
+license=('APACHE')
+depends=('gcc-libs')
+makedepends=('cmake')
+source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libgooglepinyin/${pkgname}-${pkgver}.tar.bz2)
+
+build() {
+  rm -rf build
+  mkdir build
+  cd build
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr . \
+      -DENABLE_STATIC=Off ../$pkgname-$pkgver
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}
+
+sha512sums=('5ead9008cf1b5fe86bb49f2e5caa7c9868b69033316863ac61c5799d860f5d55ccb65560f6f28254ae930afe12cc7df786668b09caa4e39b2752c0aa5f8a101d')



More information about the arch-commits mailing list