summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0eb5d497267b878dbdcc845a0e870e3b929e097d (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: Oliver Hattshire <hattshire at gmail dot com>
# Font Author: 0xcf843ecf802c722f434d56 <nathanwoodformal at gmail dot com>

_basename=inupiaqnumbers
_pkgbase=ttf-${_basename}
pkgname=${_pkgbase}-git
pkgver=r5.69d01c0
pkgrel=1
pkgdesc='A font for displaying Inupiaq numerals. It uses from U+E5A0 to U+E5B3.'
url="https://github.com/0xcf843ecf802c722f434d56/${_basename}"
license=('MIT')
arch=('any')
depends=()
makedepends=()
optdepends=()
provides=()
source=("git+https://github.com/0xcf843ecf802c722f434d56/${_basename}.git")
sha1sums=('SKIP')

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

package() {
  cd "${srcdir}/${_basename}"
  find . -iname '*.ttf' -execdir install -Dm644 {} $pkgdir/usr/share/fonts/TTF/{} \;
}