blob: 180ec8a46c9fbd3145c67cdcd958ae234667a4df (
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
28
29
|
# Maintainer:
# Contributor: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Tom Carrio <tom@carrio.dev>
pkgname=ttf-jetbrains-mono-git
pkgver=2.242.r0.gd0a7fbf
pkgrel=1
pkgdesc="Typeface for developers, by JetBrains"
arch=(any)
url="https://www.jetbrains.com/lp/mono/"
license=(custom:OFL)
provides=(ttf-jetbrains-mono)
conflicts=(ttf-jetbrains-mono)
makedepends=(git)
source=("git+https://github.com/JetBrains/JetBrainsMono.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/JetBrainsMono"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "${srcdir}/JetBrainsMono"
find fonts/ttf -type f -name "*.ttf" -exec \
install -Dm644 -t "$pkgdir/usr/share/fonts/TTF" {} \;
install -Dm644 OFL.txt -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}
|