summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1e2bf51f63bc1665c45263d5dd523bed964c4f14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Jeremy Gao <wensimehrp@gmail.com>

pkgname=ttf-chillduansans
_pkgname=ChillDuanSans.v1.30
pkgver=1.30
pkgrel=1
pkgdesc='A CJK sans-serif font with more variety based on Source Han Sans'
arch=('any')
url='https://github.com/Warren2060/ChillDuanSans'
license=('OFL-1.1-RFN')
depends=('fontconfig')
source=("https://github.com/Warren2060/ChillDuanSans/releases/download/v${pkgver}/${_pkgname}.zip")
sha256sums=('68471063e71f1ffa4d676bfc283ae2e60e328aa29c2bcb52f7da78f52f2adddd')

package() {
  cd "ChillDuanSans v1.3"
  install -dm 755 "${pkgdir}/usr/share/fonts/ChillDuanSans"
  install -Dm 644 *.ttf "${pkgdir}/usr/share/fonts/ChillDuanSans"
  install -Dm 644 License.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}