summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYour Name2022-08-12 16:03:57 +0800
committerYour Name2022-08-12 16:03:57 +0800
commitf3266b20cdcecd4b0b63dc4be17bf990fe41bd40 (patch)
treed640d569654e2c7fc07a4b1b6a7c6d5cd16e7fd1
downloadaur-f3266b20cdcecd4b0b63dc4be17bf990fe41bd40.tar.gz
pack ttf-plangothic
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD20
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..86123b089d17
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = ttf-plangothic
+ pkgdesc = 遍黑体项目(Plangothic Project)
+ pkgver = 0.4.4086
+ pkgrel = 1
+ url = https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic
+ arch = any
+ license = SIL Open Font License
+ depends = fontconfig
+ source = https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic/releases/download/V0.4.4086/PlangothicP1-Regular.ttf
+ source = https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic/releases/download/V0.4.4086/PlangothicP2-Regular.ttf
+ source = https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic/raw/main/LICENSE.txt
+ md5sums = d1f3ca0065111337a250347e2394f652
+ md5sums = 2660e23c0c66e3789c39e89d1866a2a3
+ md5sums = 2acc3a3b3765fa2098197e7b51871bd7
+
+pkgname = ttf-plangothic
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..698ac0ad4203
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+pkgname=ttf-plangothic
+pkgver=0.4.4086
+pkgrel=1
+pkgdesc='遍黑体项目(Plangothic Project)'
+arch=('any')
+url='https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic'
+license=('SIL Open Font License')
+depends=('fontconfig')
+source=("https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic/releases/download/V$pkgver/PlangothicP1-Regular.ttf"
+"https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic/releases/download/V$pkgver/PlangothicP2-Regular.ttf"
+"https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic/raw/main/LICENSE.txt")
+md5sums=('d1f3ca0065111337a250347e2394f652'
+ '2660e23c0c66e3789c39e89d1866a2a3'
+ '2acc3a3b3765fa2098197e7b51871bd7')
+
+package() {
+ install -Dm644 "$srcdir/PlangothicP1-Regular.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.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}