mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 01:07:15 +08:00
33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.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="5.0.1"
|
|
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=('b459a03b91fd42d16c71370e21f0cf77')
|
|
|
|
|
|
build() {
|
|
cd "${srcdir}/malayalam-fonts-${pkgver}"
|
|
mkdir -p "${pkgdir}/usr/share/fonts/TTF"
|
|
for f in `ls ./*/*.ttf`
|
|
do
|
|
install -m644 $f "${pkgdir}/usr/share/fonts/TTF"
|
|
done
|
|
mkdir -p "${pkgdir}/etc/fonts/conf.d"
|
|
install *.conf "${pkgdir}/etc/fonts/conf.d"
|
|
}
|