summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5d27d72d919430b046bebd0ce5c487e7723dec9 (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: Dorian Bourgeoisat <dorian dot bourgeoisat at icloud dot com>
pkgname=ttf-comic-mono-git
pkgver=r21.03b5ad8
pkgrel=1
epoch=2
pkgdesc="like the famous font but monospace and with adjusted metric"
license=('MIT')
arch=('any')
url="https://dtinth.github.io/comic-mono-font/"
makedepends=('git')
provides=("comic-mono")

source=("git+https://github.com/dtinth/comic-mono-font.git")
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/comic-mono-font"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	install -Dm755 'comic-mono-font/'*.ttf -t "${pkgdir}/usr/share/fonts/TTF"
	install -Dm644 'comic-mono-font/LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname%-*}"
}