blob: f6ceac7982a49584414b3f1c44112ef8fae6fd18 (
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
|
pkgname=otf-sfmono-patched
pkgver=20200105
pkgrel=1
pkgdesc='San Francisco Mono font from Apple'
arch=('any')
url='http://www.apple.com/safari/'
license=('custom')
depends=()
makedepends=('git')
conflicts=('otf-sfmono')
source=("${pkgname}::git+https://github.com/a1phabeta/SF-Mono-Font-Patched.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
git log -1 --format=%ci | cut -d " " -f 1 | sed s/-//g
}
package() {
cd ${pkgname}
install -d "${pkgdir}"/usr/share/fonts/OTF/
install -m644 *.otf "${pkgdir}"/usr/share/fonts/OTF
install -d "${pkgdir}"/usr/share/licenses/${pkgname}
install -m644 README.md "${pkgdir}"/usr/share/licenses/${pkgname}/
}
|