summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 04ffe83432535cda282fd4a6b4ee91566ccfeefe (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
# Maintainer: √Čtienne Deparis <etienne@depar.is>
pkgname=ttf-b612
pkgver=1.008
pkgrel=4
pkgdesc="An highly legible open source font family designed and tested to be used on aircraft cockpit screens"
arch=("any")
url="http://b612-font.com/"
license=("EPL")
depends=(fontconfig)
source=("https://github.com/polarsys/b612/archive/$pkgver.tar.gz")
sha256sums=('bfe4827931a22ecde5576c2bd06b462d467b89fa580b6ded651346f94eba8dd6')
provides=("ttf-b612" "ttf-b612-mono")
conflicts=("ttf-b612-git" "ttf-b612-mono")

package() {
  cd "$srcdir/b612-$pkgver"
  install -d -m755 "$pkgdir/usr/share/licenses/$pkgname"
  install -D -m644 edl-v10.html "$pkgdir/usr/share/licenses/$pkgname/edl-v10.html"
  install -D -m644 EPL-2.0.html "$pkgdir/usr/share/licenses/$pkgname/EPL-2.0.html"
  install -D -m644 OFL.txt "$pkgdir/usr/share/licenses/$pkgname/OFL.txt"

  install -d -m755 "$pkgdir/usr/share/fonts/TTF"
  cd fonts/ttf
  install -D -m644 *.ttf "$pkgdir/usr/share/fonts/TTF/"
}