2013-12-01 12:43:25 +01:00
|
|
|
# Maintainer: Parantapa Bhattacharya <pb at parantapa dot net>
|
|
|
|
pkgname=ttf-cosmic-sans-neue-git
|
2014-01-20 10:17:48 +01:00
|
|
|
pkgver=20140110
|
2013-12-01 12:43:25 +01:00
|
|
|
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')
|
2014-01-03 08:50:44 +01:00
|
|
|
makedepends=('git' 'fontforge' 'ttfautohint' 'sfnt2woff' 'ttf2eot')
|
2013-12-01 12:43:25 +01:00
|
|
|
install=$pkgname.install
|
|
|
|
source=(git+https://github.com/belluzj/cosmic-sans-neue.git)
|
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd "$srcdir/cosmic-sans-neue"
|
|
|
|
git log -1 --pretty=format:"%cd" --date=short | sed s/-//g
|
|
|
|
}
|
|
|
|
|
2014-01-03 08:50:44 +01:00
|
|
|
build() {
|
|
|
|
cd "${srcdir}/cosmic-sans-neue"
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2013-12-01 12:43:25 +01:00
|
|
|
package() {
|
|
|
|
install -d "${pkgdir}/usr/share/fonts/TTF"
|
|
|
|
cp -dpr --no-preserve=ownership "${srcdir}/cosmic-sans-neue/"*.ttf "${pkgdir}/usr/share/fonts/TTF"
|
|
|
|
}
|