1 # Contributor: Aashik S aashiks at gmail dot com
2 # Maintainer: http://smc.org.in
4 pkgname=ttf-malayalam-fonts
5 # This variable had to be introduced to deal with the peculiar naming scheme and
6 # the directory structure of the source when extracted folder
9 pkgdesc=" This is a set of TrueType and OpenType fonts released under the GNU General Public License for Malayalam Language."
10 arch=('i686' 'x86_64')
11 url="http://smc.org.in/"
13 depends=('fontconfig' 'xorg-fonts-encodings')
14 install=ttf-malayalam-fonts.install
15 source=(http://download.savannah.gnu.org/releases-noredirect/smc/fonts/malayalam-fonts-${pkgver}.zip)
16 md5sums=('02f06d0e7e387bd7c549967b2494104e')
20 cd "${srcdir}/malayalam-fonts-${pkgver}" || return 1
21 mkdir -p "${pkgdir}/usr/share/fonts/TTF" || return 1
22 for f in `ls ./*/*.ttf`
24 install -m644 $f "${pkgdir}/usr/share/fonts/TTF"
26 mkdir -p "${pkgdir}/etc/fonts/conf.d" || return 1
27 install *.conf "${pkgdir}/etc/fonts/conf.d" || return 1