[arch-commits] Commit in libchewing/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 15:14:32 UTC 2020
Date: Tuesday, July 7, 2020 @ 15:14:31
Author: felixonmars
Revision: 658872
archrelease: copy trunk to community-staging-x86_64
Added:
libchewing/repos/community-staging-x86_64/
libchewing/repos/community-staging-x86_64/PKGBUILD
(from rev 658871, libchewing/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: libchewing/repos/community-staging-x86_64/PKGBUILD (from rev 658871, libchewing/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 15:14:31 UTC (rev 658872)
@@ -0,0 +1,35 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: whisky <archlinux.cle(at)gmail.com>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=libchewing
+pkgver=0.5.1
+pkgrel=4
+pkgdesc='Intelligent Chinese phonetic input method'
+url='http://chewing.im/'
+arch=('x86_64')
+license=('LGPL2.1')
+depends=('sqlite')
+optdepends=(
+ 'chewing-editor: view and modify libchewing user phrases database'
+)
+source=("https://github.com/chewing/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('9708c63415fa6034435c0f38100e7d30d0e1bac927f67bec6dfeb3fef016172b')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ # parallel testing is broken (https://github.com/chewing/libchewing/issues/293)
+ make -j1 check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list