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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 19:14:18 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:14:17
  Author: felixonmars
Revision: 753386

archrelease: copy trunk to community-staging-any

Added:
  python-jieba/repos/community-staging-any/
  python-jieba/repos/community-staging-any/PKGBUILD
    (from rev 753385, python-jieba/trunk/PKGBUILD)

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

Copied: python-jieba/repos/community-staging-any/PKGBUILD (from rev 753385, python-jieba/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:14:17 UTC (rev 753386)
@@ -0,0 +1,18 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-jieba
+pkgver=0.42.1
+pkgrel=2
+pkgdesc="Chinese Words Segementation Utilities"
+arch=('any')
+url='https://github.com/fxsjy/jieba'
+license=('MIT')
+depends=('python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/fxsjy/jieba/archive/v$pkgver.tar.gz")
+sha512sums=('fd2f44e7e87e29390975bc1c3400aa5527221d82a5e8771dec4ba6d02e7c68807ccccd5b743ada9c856955c0f3bf7eade697bb7212ab2eef37fb78bee48d99ca')
+
+package() {
+  cd jieba-$pkgver
+  python setup.py install -O1 --root="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list