blob: 966dca783978d40fa3f5a9b026c57b4086f54676 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
pkgname=ttf-pingfang-git
pkgver=r2.895efd9
pkgrel=1
pkgdesc='PingFang font from Apple.'
url='https://www.apple.com'
arch=('x86_64')
license=('custom')
source=(
'git+https://github.com/ShmilyHTT/PingFang.git'
)
pkgver() {
cd PingFang
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
install -d "${pkgdir}/usr/share/fonts/PingFang/"
install -Dm644 ${srcdir}/PingFang/*.ttf "${pkgdir}/usr/share/fonts/PingFang/"
}
sha256sums=('SKIP')
|