mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:47:13 +08:00
30 lines
947 B
Bash
30 lines
947 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
_pkgname=ubuntu-font-family
|
|
pkgname=ttf-ubuntu-font
|
|
pkgver=0.71.2
|
|
pkgrel=1
|
|
pkgdesc="The default TTF font family used by Ubuntu."
|
|
arch=('any')
|
|
license=('custom:ubuntu-font-licence-1.0')
|
|
url="http://font.ubuntu.com/"
|
|
depends=('fontconfig' 'xorg-font-utils')
|
|
source=("http://font.ubuntu.com/download/${_pkgname}-${pkgver}.zip")
|
|
install="fc-cache.install"
|
|
md5sums=('5be61a17e940a0aa9a98bf468b1e4e90')
|
|
|
|
package() {
|
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
|
|
|
install -m0644 -D LICENCE.txt "${pkgdir}/usr/share/${pkgname}/LICENSE"
|
|
install -d "${pkgdir}/usr/share/fonts/TTF"
|
|
cp -r "${srcdir}/${_pkgname}-${pkgver}" "${pkgdir}/usr/share/fonts/TTF/${pkgname}"
|
|
}
|