summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXuanrui Qi2019-06-19 15:54:46 -0700
committerXuanrui Qi2019-06-19 15:54:46 -0700
commitaa7a37c6d210e9e900a31cef8a7598d54ca62f88 (patch)
tree3e475946e06c166a21a4f4a94f599c923ea5685b
parent322a073913d1b91192fae2257bef83e85ec08eaa (diff)
downloadaur-aa7a37c6d210e9e900a31cef8a7598d54ca62f88.tar.gz
Add license
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 11 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e3257f8213ce..b21bd385f8e9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = noto-fonts-sc
pkgdesc = Noto CJK-SC fonts for Simplified Chinese
pkgver = 2.001
- pkgrel = 2
+ pkgrel = 3
epoch = 1
url = https://www.google.com/get/noto/help/cjk/
install = noto-fonts-sc.install
@@ -11,8 +11,10 @@ pkgbase = noto-fonts-sc
depends = xorg-font-utils
source = https://github.com/googlefonts/noto-cjk/raw/NotoSansV2.001/NotoSansCJKsc-Regular.otf
source = https://github.com/googlefonts/noto-cjk/raw/NotoSansV2.001/NotoSansMonoCJKsc-Regular.otf
+ source = https://github.com/googlefonts/noto-cjk/raw/NotoSansV2.001/LICENSE
sha256sums = ee85a1e4126e287a373625cce025b3235cdebf96f71b78f5ef165893c6f8c99f
sha256sums = 1be3c018da41e6545090882625457c9a5d01a03a9115a6be49820d154585989a
+ sha256sums = 6a73f9541c2de74158c0e7cf6b0a58ef774f5a780bf191f2d7ec9cc53efe2bf2
pkgname = noto-fonts-sc
diff --git a/PKGBUILD b/PKGBUILD
index a8588927459e..e733e4e0402a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,20 @@
-# Maintainer: Andrés Cordero <arch@andrew67.com>
+# Maintainer: Xuanrui Qi <me@xuanruiqi.com>
+# Former Maintainer: Andrés Cordero <arch@andrew67.com>
# Former Maintainer: halflife <pigoig_At_gmail_com>
pkgname=noto-fonts-sc
pkgver=2.001
-pkgrel=2
+pkgrel=3
epoch=1
pkgdesc="Noto CJK-SC fonts for Simplified Chinese"
arch=(any)
depends=(fontconfig xorg-font-utils)
source=("https://github.com/googlefonts/noto-cjk/raw/NotoSansV2.001/NotoSansCJKsc-Regular.otf"
- "https://github.com/googlefonts/noto-cjk/raw/NotoSansV2.001/NotoSansMonoCJKsc-Regular.otf")
+ "https://github.com/googlefonts/noto-cjk/raw/NotoSansV2.001/NotoSansMonoCJKsc-Regular.otf"
+ "https://github.com/googlefonts/noto-cjk/raw/NotoSansV2.001/LICENSE")
sha256sums=('ee85a1e4126e287a373625cce025b3235cdebf96f71b78f5ef165893c6f8c99f'
- '1be3c018da41e6545090882625457c9a5d01a03a9115a6be49820d154585989a')
+ '1be3c018da41e6545090882625457c9a5d01a03a9115a6be49820d154585989a'
+ '6a73f9541c2de74158c0e7cf6b0a58ef774f5a780bf191f2d7ec9cc53efe2bf2')
url="https://www.google.com/get/noto/help/cjk/"
install=${pkgname}.install
license=("custom: SIL")
@@ -19,4 +22,5 @@ license=("custom: SIL")
package() {
install -d "${pkgdir}/usr/share/fonts/OTF"
install -m644 "${srcdir}/"*.otf "${pkgdir}/usr/share/fonts/OTF/"
+ install -Dm644 "${srcdir}/"LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}