summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052023-04-27 15:45:01 +0800
committerzxp198210052023-04-27 15:45:01 +0800
commit8d3447236d417893848f01a1f7021de872d37121 (patch)
tree14eefe1596b542c698ae6f83809fc6b9242f931f
parent4a35910cb243b9300e6ebb6ad0e5f9520bb3ed5c (diff)
downloadaur-8d3447236d417893848f01a1f7021de872d37121.tar.gz
add license
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD18
2 files changed, 13 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5c56b6428667..49abea87ef24 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,13 @@
pkgbase = otf-cjk-standards-logo-font
pkgdesc = Logos for standards used in Unicode CJK
pkgver = 1.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/NightFurySL2001/cjk-standards-logo
arch = any
- license = CC0-1.0
+ license = custom:CC0-1.0
source = CJKStandardLogos.otf::https://github.com/NightFurySL2001/cjk-standards-logo/raw/main/CJKStandardLogos.otf
+ source = LICENSE::https://github.com/NightFurySL2001/cjk-standards-logo/raw/main/LICENSE
sha256sums = 34a561fd82940782d509f51226e72935f2b6be890ec16ad7ad2832036d8e28c0
+ sha256sums = 36ffd9dc085d529a7e60e1276d73ae5a030b020313e6c5408593a6ae2af39673
pkgname = otf-cjk-standards-logo-font
diff --git a/PKGBUILD b/PKGBUILD
index aaf7b835b99d..c96fa9003a8d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,18 @@
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=otf-cjk-standards-logo-font
pkgver=1.0
+pkgrel=2
pkgdesc="Logos for standards used in Unicode CJK"
-pkgrel=1
arch=(any)
url='https://github.com/NightFurySL2001/cjk-standards-logo'
-license=(CC0-1.0)
+license=(custom:CC0-1.0)
depends=()
makedepends=()
-source=(
- "CJKStandardLogos.otf::${url}/raw/main/CJKStandardLogos.otf"
-)
-sha256sums=('34a561fd82940782d509f51226e72935f2b6be890ec16ad7ad2832036d8e28c0')
+source=("CJKStandardLogos.otf::${url}/raw/main/CJKStandardLogos.otf"
+ "LICENSE::${url}/raw/main/LICENSE")
+sha256sums=('34a561fd82940782d509f51226e72935f2b6be890ec16ad7ad2832036d8e28c0'
+ '36ffd9dc085d529a7e60e1276d73ae5a030b020313e6c5408593a6ae2af39673')
package() {
- install -dm755 "${pkgdir}/usr/share/fonts/OTF"
- cp "${srcdir}/CJKStandardLogos.otf" "${pkgdir}/usr/share/fonts/OTF"
-}
+ install -Dm444 "${srcdir}/CJKStandardLogos.otf" -t "${pkgdir}/usr/share/fonts/OTF"
+ install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
+} \ No newline at end of file