diff options
author | R Daneel | 2015-07-23 22:33:44 +0800 |
---|---|---|
committer | R Daneel | 2015-07-23 22:33:44 +0800 |
commit | bf2a5b55505dded23dd394e2882cd45b91c5381f (patch) | |
tree | 53326a4a8e63ad713f633d31a529b09fc57d5338 | |
download | aur-bf2a5b55505dded23dd394e2882cd45b91c5381f.tar.gz |
Initial import from AUR
-rw-r--r-- | .SRCINFO | 16 | ||||
-rwxr-xr-x | PKGBUILD | 24 | ||||
-rwxr-xr-x | ttf-malayalam-fonts.install | 15 |
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bd908dc9172f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = ttf-malayalam-font-meera + pkgdesc = This is Meera, a font belonging to a set of TrueType and OpenType fonts released under the GNU General Public License for Malayalam Language. + pkgver = 6.1.1 + pkgrel = 1 + url = http://smc.org.in/fonts/ + install = ttf-malayalam-fonts.install + arch = any + depends = fontconfig + depends = xorg-font-utils + source = http://smc.org.in/downloads/fonts/meera/Meera.ttf + source = https://gitlab.com/smc/meera/raw/master/65-0-smc-meera.conf + md5sums = e217ad37fa43c073368e66419e16ef1a + md5sums = 4c02bd80a4d2b9fcfd47ef7685357359 + +pkgname = ttf-malayalam-font-meera + diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..f4e2f8f7fb71 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor: Aashik S aashiks at gmail dot com +# Maintainer: http://smc.org.in +# Contributor: Akshay S Dinesh asdofindia at gmail dot com + +pkgname=ttf-malayalam-font-meera +pkgver=6.1.1 +pkgrel=1 +pkgdesc="This is Meera, a font belonging to a set of TrueType and OpenType fonts released under the GNU General Public License for Malayalam Language." +arch=(any) +url="http://smc.org.in/fonts/" +depends=(fontconfig xorg-font-utils) +source=("http://smc.org.in/downloads/fonts/meera/Meera.ttf" + "https://gitlab.com/smc/meera/raw/master/65-0-smc-meera.conf") +md5sums=('e217ad37fa43c073368e66419e16ef1a' + '4c02bd80a4d2b9fcfd47ef7685357359') +install=ttf-malayalam-fonts.install + + +package() { + mkdir -p "${pkgdir}/usr/share/fonts/TTF" || return 1 + install -m644 *.ttf "${pkgdir}/usr/share/fonts/TTF" + mkdir -p "${pkgdir}/etc/fonts/conf.d" || return 1 + install *.conf "${pkgdir}/etc/fonts/conf.d" || return 1 +} diff --git a/ttf-malayalam-fonts.install b/ttf-malayalam-fonts.install new file mode 100755 index 000000000000..26e912fe9c2c --- /dev/null +++ b/ttf-malayalam-fonts.install @@ -0,0 +1,15 @@ +post_install() { + echo "Running fc-cache to update font cache" + fc-cache -fs + mkfontscale usr/share/fonts/TTF + mkfontdir usr/share/fonts/TTF + echo "Finished updating font cache" +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |