diff options
author | R Daneel | 2015-07-23 22:36:16 +0800 |
---|---|---|
committer | R Daneel | 2015-07-23 22:36:16 +0800 |
commit | 7170c9927c94250d40b225b36a4bf7c5543d3ed8 (patch) | |
tree | efb4142786dceb7a130f94da3e5bd0b0b818a8a0 | |
download | aur-7170c9927c94250d40b225b36a4bf7c5543d3ed8.tar.gz |
Initial import from AUR
-rw-r--r-- | .SRCINFO | 16 | ||||
-rwxr-xr-x | PKGBUILD | 25 | ||||
-rwxr-xr-x | ttf-malayalam-fonts.install | 15 |
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f8f44ca01df7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = ttf-malayalam-font-rachana + pkgdesc = This is Rachana, 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/rachana/Rachana.ttf + source = https://gitlab.com/smc/rachana/raw/master/65-0-smc-rachana.conf + md5sums = a748e218606bf19eb281fe13b4ecbeac + md5sums = 92733c3f554307060ad17a1f7a4e6ba8 + +pkgname = ttf-malayalam-font-rachana + diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..fbb8d53b962d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# 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-rachana +pkgver=6.1.1 +pkgrel=1 +pkgdesc="This is Rachana, 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/rachana/Rachana.ttf" + "https://gitlab.com/smc/rachana/raw/master/65-0-smc-rachana.conf") +md5sums=('a748e218606bf19eb281fe13b4ecbeac' + '92733c3f554307060ad17a1f7a4e6ba8') +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 +} |