[arch-commits] Commit in phrase-pinyin-data/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Jun 4 20:41:07 UTC 2021


    Date: Friday, June 4, 2021 @ 20:41:07
  Author: felixonmars
Revision: 955938

archrelease: copy trunk to community-any

Added:
  phrase-pinyin-data/repos/community-any/
  phrase-pinyin-data/repos/community-any/PKGBUILD
    (from rev 955937, phrase-pinyin-data/trunk/PKGBUILD)

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

Copied: phrase-pinyin-data/repos/community-any/PKGBUILD (from rev 955937, phrase-pinyin-data/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-06-04 20:41:07 UTC (rev 955938)
@@ -0,0 +1,18 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=phrase-pinyin-data
+pkgver=0.10.5
+pkgrel=1
+pkgdesc="Pinyin Data for Phrases"
+arch=('any')
+license=('MIT')
+url="https://github.com/mozillazg/phrase-pinyin-data"
+depends=()
+source=("https://github.com/mozillazg/phrase-pinyin-data/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('c7ac12dea3f43aff0428490c08acad94bce06a5fd354746eaefb580849aee3b75c9ec988ef5fd21782c6138da310ea7d1c52f1a49f79a7a0e0120794e06593c5')
+
+package() {
+  cd $pkgname-$pkgver
+  install -Dm644 pinyin.txt -t "$pkgdir"/usr/share/$pkgname/
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list