2013-12-01 12:43:25 +01:00
|
|
|
# Maintainer: Parantapa Bhattacharya <pb at parantapa dot net>
|
2014-01-20 23:54:36 +01:00
|
|
|
pkgname=ttf-fantasque-sans-git
|
2014-06-16 09:55:50 +02:00
|
|
|
pkgver=20140609
|
2013-12-01 12:43:25 +01:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A font family with a great monospaced variant for programmers."
|
|
|
|
arch=('any')
|
2014-01-20 23:54:36 +01:00
|
|
|
url="https://github.com/belluzj/fantasque-sans"
|
2013-12-01 12:43:25 +01:00
|
|
|
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
|
2014-01-20 23:54:36 +01:00
|
|
|
source=(git+https://github.com/belluzj/fantasque-sans.git)
|
2013-12-01 12:43:25 +01:00
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
2014-01-20 23:54:36 +01:00
|
|
|
cd "$srcdir/fantasque-sans"
|
2013-12-01 12:43:25 +01:00
|
|
|
git log -1 --pretty=format:"%cd" --date=short | sed s/-//g
|
|
|
|
}
|
|
|
|
|
2014-01-03 08:50:44 +01:00
|
|
|
build() {
|
2014-01-20 23:54:36 +01:00
|
|
|
cd "${srcdir}/fantasque-sans"
|
2014-01-03 08:50:44 +01:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2013-12-01 12:43:25 +01:00
|
|
|
package() {
|
|
|
|
install -d "${pkgdir}/usr/share/fonts/TTF"
|
2014-01-20 23:54:36 +01:00
|
|
|
cp -dpr --no-preserve=ownership "${srcdir}/fantasque-sans/"*.ttf "${pkgdir}/usr/share/fonts/TTF"
|
2013-12-01 12:43:25 +01:00
|
|
|
}
|