summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b7763407a807f4b50dbbe1dd6fb490039444fcd1 (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
# Contributor: Marcos Heredia <chelqo@gmail.com>

_font="cabin-font"
_group="impallari"
pkgname=ttf-${_group}-${_font}
pkgver=2.2
pkgrel=1
pkgdesc="A humanist sans inspired by Edward Johnston's and Eric Gill's typefaces, from Pablo Impallari"
arch=(any)
url="https://github.com/impallari"
license=('custom:OFL')
groups=("${_group}-fonts")
depends=('fontconfig' 'xorg-font-utils')
install=updatefont.install
source=("${_font}-${pkgver}.zip::https://codeload.github.com/impallari/Cabin/zip/master")
md5sums=('d802f38fbc80f76dd4f2cff67c0e536f')

package() {
  cd "${srcdir}/Cabin-master"

  install -dm755 "${pkgdir}/usr/share/fonts/TTF/${_group}"
  install -Dpm644 fonts/TTF/*.ttf "${pkgdir}/usr/share/fonts/TTF/${_group}"

  install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}/"
  install -Dpm644 OFL.txt "${pkgdir}/usr/share/licenses/${pkgname}/"

  install -dm755 "${pkgdir}/usr/share/doc/${pkgname}/"
  install -Dpm644 AUTHOR.txt CONTRIBUTORS.txt FONTLOG.txt README.md TRADEMARKS.md "${pkgdir}/usr/share/doc/${pkgname}/"
}