summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 922c51eec561a045dca39790a13a17049654cd63 (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
29
# Maintainer: samæ <samæ at marvid dot fr>

_fnt_name=junction
pkgname=ttf-${_fnt_name}
pkgver=20160215
pkgrel=1
pkgdesc="Junction is a a humanist sans-serif, and the first open-source type project started by The League of Moveable Type."
arch=('any')
url="http://theleagueofmoveabletype.com/${_fnt_name}"
license=('custom:OFL')
groups=('lmt-fonts')
depends=('fontconfig' 'xorg-font-utils')
conflicts=('otf-junction')
source=("https://github.com/theleagueof/${_fnt_name}/archive/master.zip")
install=${pkgname}.install
md5sums=('e35636a6a9075db4f1bc09df69b8d0d3')

package() {
  install -Dm644 ${srcdir}/${_fnt_name}-master/Junction-bold.otf    ${pkgdir}/usr/share/fonts/OTF/JunctionBold.otf
  install -Dm644 ${srcdir}/${_fnt_name}-master/Junction-light.otf   ${pkgdir}/usr/share/fonts/OTF/JunctionLight.otf
  install -Dm644 ${srcdir}/${_fnt_name}-master/Junction-regular.otf ${pkgdir}/usr/share/fonts/OTF/JunctionRegular.otf

  install -Dm644 ${srcdir}/${_fnt_name}-master/webfonts/junction-bold.ttf    ${pkgdir}/usr/share/fonts/OTF/JunctionBold.ttf
  install -Dm644 ${srcdir}/${_fnt_name}-master/webfonts/junction-light.ttf   ${pkgdir}/usr/share/fonts/OTF/JunctionLight.ttf
  install -Dm644 ${srcdir}/${_fnt_name}-master/webfonts/junction-regular.ttf ${pkgdir}/usr/share/fonts/OTF/JunctionRegular.ttf

  install -Dm644 ${srcdir}/${_fnt_name}-master/Open\ Font\ License.markdown ${pkgdir}/usr/share/licenses/${pkgname}/OFL.txt
}