Update ttf-cosmic-sans-neue-git

The binary versions of the fonts have been removed, so they have to be
built locally.
This commit is contained in:
Tom Willemse 2014-01-03 08:50:44 +01:00
parent 08df6e3be5
commit 234fb05864

View file

@ -1,13 +1,13 @@
# Maintainer: Parantapa Bhattacharya <pb at parantapa dot net>
pkgname=ttf-cosmic-sans-neue-git
pkgver=20131222
pkgver=20140102
pkgrel=1
pkgdesc="A font family with a great monospaced variant for programmers."
arch=('any')
url="https://github.com/belluzj/cosmic-sans-neue"
license=('SIL OPEN FONT LICENSE Version 1.1')
depends=('fontconfig' 'xorg-font-utils')
makedepends=('git')
makedepends=('git' 'fontforge' 'ttfautohint' 'sfnt2woff' 'ttf2eot')
install=$pkgname.install
source=(git+https://github.com/belluzj/cosmic-sans-neue.git)
md5sums=('SKIP')
@ -17,6 +17,11 @@ pkgver() {
git log -1 --pretty=format:"%cd" --date=short | sed s/-//g
}
build() {
cd "${srcdir}/cosmic-sans-neue"
make
}
package() {
install -d "${pkgdir}/usr/share/fonts/TTF"
cp -dpr --no-preserve=ownership "${srcdir}/cosmic-sans-neue/"*.ttf "${pkgdir}/usr/share/fonts/TTF"