Date: Friday, September 27, 2019 @ 15:30:05
  Author: yan12125
Revision: 511925

archrelease: copy trunk to community-x86_64

Added:
  libchewing/repos/community-x86_64/PKGBUILD
    (from rev 511924, libchewing/trunk/PKGBUILD)
Deleted:
  libchewing/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   60 +++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 35 insertions(+), 25 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2019-09-27 15:29:48 UTC (rev 511924)
+++ PKGBUILD    2019-09-27 15:30:05 UTC (rev 511925)
@@ -1,25 +0,0 @@
-# Maintainer: Gaetan Bisson <[email protected]>
-# Contributor: whisky <archlinux.cle(at)gmail.com>
-# Contributor: damir <[email protected]>
-
-pkgname=libchewing
-pkgver=0.5.1
-pkgrel=2
-pkgdesc='Intelligent Chinese phonetic input method'
-url='http://chewing.im/'
-arch=('x86_64')
-license=('GPL')
-depends=('sqlite')
-source=("https://github.com/chewing/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.bz2";)
-sha256sums=('9708c63415fa6034435c0f38100e7d30d0e1bac927f67bec6dfeb3fef016172b')
-
-build() {
-       cd "${srcdir}/${pkgname}-${pkgver}"
-       ./configure --prefix=/usr
-       make
-}
-
-package() {
-       cd "${srcdir}/${pkgname}-${pkgver}"
-       make DESTDIR="${pkgdir}" install
-}

Copied: libchewing/repos/community-x86_64/PKGBUILD (from rev 511924, 
libchewing/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2019-09-27 15:30:05 UTC (rev 511925)
@@ -0,0 +1,35 @@
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+# Contributor: Gaetan Bisson <[email protected]>
+# Contributor: whisky <archlinux.cle(at)gmail.com>
+# Contributor: damir <[email protected]>
+
+pkgname=libchewing
+pkgver=0.5.1
+pkgrel=3
+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
+}

Reply via email to