blob: a154904d0814ba02c78ce6a7fbcbc2fd4f991ba6 (
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
27
|
pkgname=otf-sfmono-patched
pkgver=20191114
pkgrel=1
pkgdesc="Apple's SF Mono font patched for Powerline support"
arch=('any')
url='http://www.apple.com/safari/'
license=('custom')
depends=()
makedepends=('git')
conflicts=('otf-sfmono')
provides=('otf-sfmono')
source=("${pkgname}::git+https://github.com/Twixes/SF-Mono-Powerline.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}/
}
|