From 62fca50d732e0850c9c86cae090c8445ca1b0b8f Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Tue, 20 Oct 2015 19:18:28 -0300 Subject: add ttf-pfc package --- libre/pac/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 libre/pac/PKGBUILD (limited to 'libre/pac/PKGBUILD') diff --git a/libre/pac/PKGBUILD b/libre/pac/PKGBUILD new file mode 100644 index 000000000..f646dcc0e --- /dev/null +++ b/libre/pac/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Márcio Silva + +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: -- cgit v1.2.3-54-g00ecf