diff options
author | Jack Chen | 2019-10-25 10:00:40 +0800 |
---|---|---|
committer | Jack Chen | 2019-10-25 10:00:40 +0800 |
commit | e88344c1c25e1e23b485cee709a2a858c9fa275a (patch) | |
tree | a96ad9544fc5b1e68d6dcc919c8c30e99e0df373 | |
parent | f735e937c9158a0b1ac49b25b9cf1caf27252da8 (diff) | |
download | aur-e88344c1c25e1e23b485cee709a2a858c9fa275a.tar.gz |
script format
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 8 insertions, 12 deletions
@@ -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 @@ -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/ } |