mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:57:13 +08:00
34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
#
|
|
# Chakra 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>
|
|
# ontributor CCR: Sebin A Jacob sebinajacob at gmail dot com
|
|
# ontributor AUR: Aashik S aashiks at gmail dot com
|
|
|
|
pkgname=ttf-malayalam-fonts
|
|
# This variable had to be introduced to deal with the peculiar naming scheme and
|
|
# the directory structure of the source when extracted folder
|
|
pkgver="4.4"
|
|
pkgrel=1
|
|
pkgdesc=" This is a set of TrueType and OpenType fonts released under the GNU General Public License for Malayalam Language."
|
|
arch=('i686' 'x86_64')
|
|
url="http://smc.org.in/"
|
|
license=('GPL')
|
|
depends=('fontconfig' 'xorg-fonts-encodings')
|
|
install=ttf-malayalam-fonts.install
|
|
source=(http://download.savannah.gnu.org/releases-noredirect/smc/fonts/malayalam-fonts-${pkgver}.zip)
|
|
md5sums=('02f06d0e7e387bd7c549967b2494104e')
|
|
|
|
|
|
build() {
|
|
cd "${srcdir}/malayalam-fonts-${pkgver}" || return 1
|
|
mkdir -p "${pkgdir}/usr/share/fonts/TTF" || return 1
|
|
for f in `ls ./*/*.ttf`
|
|
do
|
|
install -m644 $f "${pkgdir}/usr/share/fonts/TTF"
|
|
done
|
|
mkdir -p "${pkgdir}/etc/fonts/conf.d" || return 1
|
|
install *.conf "${pkgdir}/etc/fonts/conf.d" || return 1
|
|
}
|