core/ttf-raleway/PKGBUILD
2013-12-19 20:26:44 +01:00

34 lines
1.1 KiB
Bash

# Platform packages for Chakra
pkgname=ttf-raleway
pkgver=3.0
pkgrel=2
_update=100
pkgdesc="A sans-serif typeface"
arch=('any')
url="http://theleagueofmoveabletype.com/raleway/"
license=('custom:OFL')
depends=('fontconfig' 'xorg-font-utils')
install=ttf.install
source=("http://www.impallari.com/media/uploads/prosources/update-${_update}-source.zip")
md5sums=('fd753c68236f5c712a89bb798a90c4a1')
package() {
cd ${srcdir}/r*
# Install only Raleway-Thin because is used in our KDM theme and is
# the Chakra default font.
# An other reason is that QFontComboBox can show only the font family
# and not the single styles (like Thin/Medium/ExtraBold/...) and the
# user can not choose/change the font style correctly.
install -dm755 "${pkgdir}/usr/share/fonts/TTF/"
install -Dpm644 Raleway-Thin.ttf "${pkgdir}/usr/share/fonts/TTF/"
#install -Dpm644 *.ttf "${pkgdir}/usr/share/fonts/TTF/"
install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}/"
install -Dpm644 OFL.txt "${pkgdir}/usr/share/licenses/${pkgname}/"
install -dm755 "${pkgdir}/usr/share/doc/${pkgname}/"
install -Dpm644 FONTLOG.txt "${pkgdir}/usr/share/doc/${pkgname}/"
}