summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Chen2019-10-25 10:00:40 +0800
committerJack Chen2019-10-25 10:00:40 +0800
commite88344c1c25e1e23b485cee709a2a858c9fa275a (patch)
treea96ad9544fc5b1e68d6dcc919c8c30e99e0df373
parentf735e937c9158a0b1ac49b25b9cf1caf27252da8 (diff)
downloadaur-e88344c1c25e1e23b485cee709a2a858c9fa275a.tar.gz
script format
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD16
2 files changed, 8 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1e4f1f27b987..066697784306 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = adobe-source-han-mono-classic-fonts
pkgdesc = Adobe Source Han Mono - Classic Style Chinese Character
pkgver = 1.002
- pkgrel = 4
- url = https://github.com/adobe-fonts/source-han-mono
+ pkgrel = 5
+ url = https://github.com/redchenjs/source-han-mono-classic/
arch = any
license = OFL
source = git+https://github.com/redchenjs/source-han-mono-classic.git
diff --git a/PKGBUILD b/PKGBUILD
index c50bdbd01812..5dba5bf42b52 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,10 +2,10 @@
pkgname=adobe-source-han-mono-classic-fonts
pkgver=1.002
-pkgrel=4
-pkgdesc="Adobe Source Han Mono - Classic Style Chinese Character"
+pkgrel=5
+pkgdesc='Adobe Source Han Mono - Classic Style Chinese Character'
arch=('any')
-url="https://github.com/adobe-fonts/source-han-mono"
+url='https://github.com/redchenjs/source-han-mono-classic/'
license=('OFL')
source=(
'git+https://github.com/redchenjs/source-han-mono-classic.git'
@@ -15,11 +15,7 @@ md5sums=(
)
package() {
- mkdir -p "${pkgdir}"/usr/
- mkdir -p "${pkgdir}"/usr/share/
- mkdir -p "${pkgdir}"/usr/share/fonts/
- mkdir -p "${pkgdir}"/usr/share/fonts/adobe-source-han-sans/
-
- cp -a "${srcdir}"/source-han-mono-classic/*.otf \
- "${pkgdir}"/usr/share/fonts/adobe-source-han-sans/
+ install -dm 755 ${pkgdir}/usr/share/fonts/adobe-source-han-sans/
+ install -Dm 644 ${srcdir}/source-han-mono-classic/*.otf \
+ ${pkgdir}/usr/share/fonts/adobe-source-han-sans/
}