summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0ebfb2e1144bb8d3c8923b54b35f90016a8e36e9 (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
# Maintainer: AlieZ <aaliezz840@gmail.com>
pkgname=ttf-pingfang-git
pkgver=r2.895efd9
pkgrel=1
pkgdesc='PingFang font from Apple.'
url='https://www.apple.com'
arch=('any')
license=('custom')
makedepends=('git')
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')