core/ttf-raleway/PKGBUILD

34 lines
1.1 KiB
Bash
Raw Normal View History

2012-06-02 22:40:33 +08:00
# Platform packages for Chakra
pkgname=ttf-raleway
2013-12-01 07:54:47 +08:00
pkgver=3.0
2013-12-20 03:26:44 +08:00
pkgrel=2
2013-12-01 07:54:47 +08:00
_update=100
2012-06-02 22:40:33 +08:00
pkgdesc="A sans-serif typeface"
arch=('any')
url="http://theleagueofmoveabletype.com/raleway/"
2013-12-01 07:54:47 +08:00
license=('custom:OFL')
2012-06-02 22:40:33 +08:00
depends=('fontconfig' 'xorg-font-utils')
install=ttf.install
2013-12-01 07:54:47 +08:00
source=("http://www.impallari.com/media/uploads/prosources/update-${_update}-source.zip")
md5sums=('fd753c68236f5c712a89bb798a90c4a1')
2012-06-02 22:40:33 +08:00
package() {
2013-12-01 07:54:47 +08:00
cd ${srcdir}/r*
2013-12-20 03:26:44 +08:00
# 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.
2013-12-01 07:54:47 +08:00
install -dm755 "${pkgdir}/usr/share/fonts/TTF/"
2013-12-20 03:26:44 +08:00
install -Dpm644 Raleway-Thin.ttf "${pkgdir}/usr/share/fonts/TTF/"
#install -Dpm644 *.ttf "${pkgdir}/usr/share/fonts/TTF/"
2013-12-01 07:54:47 +08:00
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}/"
2012-06-02 22:40:33 +08:00
}