summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f62ee25de80d..61e967d643e7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
pkgbase=fonts-cjk
pkgname=($pkgbase{,-jp-seto,-sc-{zcool,pangmenzhengdao,huxiaobo,yrdzst,opposans,baotuxiaobaiti,shoushuti,youshe,zhenyangb},-tc-qingsongshouxieti})
-pkgver=1.0.2
-pkgrel=2
+pkgver=r17.6c32da2
+pkgrel=1
arch=(any)
url='https://gitee.com/atzlinux/fonts-zh-cn-business-free-atzlinux'
license=(custom)
@@ -16,6 +16,12 @@ source=("${pkgbase}"'::git+https://gitee.com/atzlinux/fonts-zh-cn-business-free-
sha256sums=('SKIP')
+pkgver() {
+ cd "${srcdir}/${pkgbase}/"
+# git describe --long --tags | sed 's/v//g;s/\([^-]*-g\)/r\1/;s/-/./g'
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
+}
+
package_fonts-cjk() {
export LC_CTYPE="zh_CN.UTF-8"
pkgdesc="Linux 下的免费商用字体包"