summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 400cb45baac08fa39d7cf08bbb3da9224dc180cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Takina Lina <0tkl.zhaoqing@gmail.com>

pkgname=ttf-plangothic
pkgver=0.8.5744
pkgrel=2
pkgdesc='遍黑体项目(Plangothic Project)'
arch=(any)
url='https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic-Project'
license=(OFL)
depends=(fontconfig)
source=(
  "https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic-Project/releases/download/V$pkgver/PlangothicP1-Regular.fallback.ttf"
  "https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic-Project/releases/download/V$pkgver/PlangothicP2-Regular.ttf"
  "https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic-Project/raw/main/LICENSE"
)
md5sums=(
  'df54afe4c7b7ad041e9810e07295ee06'
  'b14651028f8902296cd290e16b1bdbf6'
  '76f275fef4c3e68344037d125b1cbe10'
)

package() {
  install -Dm644 "$srcdir/PlangothicP1-Regular.fallback.ttf" "$pkgdir/usr/share/fonts/plangothic/PlangothicP1-Regular.ttf"
  install -Dm644 "$srcdir/PlangothicP2-Regular.ttf" "$pkgdir/usr/share/fonts/plangothic/PlangothicP2-Regular.ttf"
  install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}