[arch-commits] Commit in python-jieba/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 00:38:41 UTC 2019
Date: Monday, November 4, 2019 @ 00:38:40
Author: felixonmars
Revision: 522837
archrelease: copy trunk to community-staging-any
Added:
python-jieba/repos/community-staging-any/
python-jieba/repos/community-staging-any/PKGBUILD
(from rev 522836, python-jieba/trunk/PKGBUILD)
----------+
PKGBUILD | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
Copied: python-jieba/repos/community-staging-any/PKGBUILD (from rev 522836, python-jieba/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 00:38:40 UTC (rev 522837)
@@ -0,0 +1,18 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-jieba
+pkgver=0.39
+pkgrel=4
+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=('2d8d25604265c8952dbed1a584548490b6b4f183cc3f09956c689c240d8b545f8f8aa09b5e25620539c45e08a77ac2be85f0ad228ab3c4100a1962b11caf5ea5')
+
+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