blob: 94528338841e201f5107ec150b026f656987745e (
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
|
# Maintainer: Shayne Hartford <shayneehartford@gmail.com>
pkgname=otf-lotion-git
_pkgname=lotion-dist
pkgver=r10.0af988d
pkgrel=2
pkgdesc="A free monospace font for programming!"
arch=('any')
url="https://font.nina.coffee/"
license=('custom')
provides=('otf-lotion')
source=(git+https://gitlab.com/nefertiti/$_pkgname.git)
md5sums=('SKIP')
makedepends=('git')
pkgver() {
cd "$srcdir/$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/$_pkgname"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/lotion/LICENSE"
install -d "$pkgdir/usr/share/fonts/OTF"
install -m644 Lotion-Regular.otf "$pkgdir/usr/share/fonts/OTF"
}
|