blob: 3a71180fcb2b2d8a0e2953524ad4109db0265ddd (
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
|
# Maintainer: Soramane <soramane32@gmail.com>
pkgname=ttf-gabarito-git
pkgver=v1.000.r8.g1f3fb39
pkgrel=1
pkgdesc='A light-hearted geometric sans typeface with 6 weights'
arch=('any')
url='https://github.com/naipefoundry/gabarito'
license=('OFL-1.1')
makedepends=('git')
provides=('ttf-gabarito')
conflicts=('ttf-gabarito')
source=("gabarito-git::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/gabarito-git"
git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -d "${pkgdir}/usr/share/fonts/${pkgname}"
install -Dm644 "${srcdir}"/gabarito-git/fonts/ttf/*.ttf "${pkgdir}/usr/share/fonts/${pkgname}"
install -Dm644 "${srcdir}/gabarito-git/OFL.txt" "${pkgdir}/usr/share/licenses/${pkgname}"
}
|