summaryrefslogtreecommitdiff
path: root/pcr/ttf-open-comic-font/PKGBUILD
blob: a03df69caae7c4698c14c010a4ca9d0b8378238a (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
30
31
# Contributor: Márcio Silva <coadde@hyperbola.info>
# Contributor: bill-auger <bill-auger@programmer.net>
# Maintainers: Parabola hackers <dev@lists.parabola.nu>

pkgname=ttf-open-comic-font
pkgver=0.03.2
pkgrel=2
pkgdesc="comic book style font"
arch=('any')
url=https://github.com/arthursucks/opencomicfont
license=('custom:BSD3' 'CCPL' 'LGPL3')

depends=(fontconfig xorg-mkfontdir xorg-mkfontscale)
provides=('ttf-font')
install=${pkgname}.install
source=(https://github.com/arthursucks/opencomicfont/raw/master/version_${pkgver}_source.tar.gz)

sha256sums=('c3356d1755f898df031dc21e48c673bfe94f257f0aa296cc44fa696be0ce9798')


package()
{
  cd "$srcdir"/

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

  install -dm755             "${pkgdir}"/usr/share/licenses/${pkgname}
  install -m644 lgpl-3.0.txt "${pkgdir}"/usr/share/licenses/${pkgname}/lgpl-3.0.txt
  install -m644 README.txt   "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
}