summaryrefslogtreecommitdiff
path: root/libre/pac/PKGBUILD
blob: f646dcc0ec3715ef94fb4e88888e9af13593d923 (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
# Maintainer: Márcio Silva <coadde@parabola.nu>

pkgbase=pac
pkgname=('ttf-pfc')
pkgver=20150920
pkgrel=1
url="https://projects.parabola.nu/pac.git"
license=('AGPL3')
arch=('any')
depends=('fontconfig' 'xorg-font-utils')
install='fonts.install'
makedepends=('fontforge' 'git')
source=("${pkgbase}::git+${url}")
sha256sums=('SKIP')

build() {
  cd "${pkgbase}"
  make
}

package_ttf-pfc() {
  pkgdesc='Parabola Fonts Collection'

  cd "${pkgbase}"
  install -vdm 755 ${pkgdir}
  make DESTDIR="${pkgdir}" install-fonts
  install -vdm 755 "${pkgdir}/usr/share/licenses/${pkgname}"
  install -vm 644 'COPYING'{,_AGPL_V3_0} "${pkgdir}/usr/share/licenses/${pkgname}"
}

# vim:set ts=2 sw=2 et: