diff options
author | Jishnu Mohan | 2020-09-27 11:08:50 +0530 |
---|---|---|
committer | Jishnu Mohan | 2020-09-27 11:09:15 +0530 |
commit | e9d6e65a0e8afd42227b435ebbc41eafaf273f7b (patch) | |
tree | b5f5575025c81dd6ed02a4daf865ebf97aab1419 | |
parent | a80a5aaa0286eba995f267b21b5c1f700fbe649e (diff) | |
download | aur-e9d6e65a0e8afd42227b435ebbc41eafaf273f7b.tar.gz |
update package with guidelines
-rw-r--r-- | .SRCINFO | 9 | ||||
-rwxr-xr-x | PKGBUILD | 15 | ||||
-rwxr-xr-x | ttf-malayalam-fonts.install | 15 |
3 files changed, 8 insertions, 31 deletions
@@ -1,16 +1,13 @@ pkgbase = ttf-malayalam-font-suruma pkgdesc = This is Suruma, a font belonging to a set of TrueType and OpenType fonts released under the GNU General Public License for Malayalam Language. pkgver = 3.2.1 - pkgrel = 1 + pkgrel = 2 url = http://smc.org.in/fonts/ - install = ttf-malayalam-fonts.install arch = any license = GPL3 - depends = fontconfig - depends = xorg-font-utils source = http://smc.org.in/downloads/fonts/suruma/Suruma.ttf - source = https://gitlab.com/smc/suruma/raw/master/67-smc-suruma.conf - sha256sums = b6519c9320c0ef1d628847ded10818b4d16ab98be5b634edafb5d900d4e44ff9 + source = https://gitlab.com/smc/fonts/suruma/raw/master/67-smc-suruma.conf + sha256sums = f809806a8cd685ca3382bf99a0a125ab83128d1a70b7e434d81ef94d29ea88a7 sha256sums = 46891cb4acb8579ae2576be8645a7909a4d464a70b4e7144d3bd6f95d2950b57 pkgname = ttf-malayalam-font-suruma @@ -5,22 +5,17 @@ pkgname=ttf-malayalam-font-suruma pkgver=3.2.1 -pkgrel=1 +pkgrel=2 pkgdesc="This is Suruma, 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/" license=("GPL3") -depends=(fontconfig xorg-font-utils) source=("http://smc.org.in/downloads/fonts/suruma/Suruma.ttf" - "https://gitlab.com/smc/suruma/raw/master/67-smc-suruma.conf") -sha256sums=('b6519c9320c0ef1d628847ded10818b4d16ab98be5b634edafb5d900d4e44ff9' + "https://gitlab.com/smc/fonts/suruma/raw/master/67-smc-suruma.conf") +sha256sums=('f809806a8cd685ca3382bf99a0a125ab83128d1a70b7e434d81ef94d29ea88a7' '46891cb4acb8579ae2576be8645a7909a4d464a70b4e7144d3bd6f95d2950b57') -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 + install -Dm644 -t "$pkgdir/usr/share/fonts/TTF/" *.ttf + install -Dm644 -t "$pkgdir/etc/fonts/conf.d" *.conf } diff --git a/ttf-malayalam-fonts.install b/ttf-malayalam-fonts.install deleted file mode 100755 index 26e912fe9c2c..000000000000 --- a/ttf-malayalam-fonts.install +++ /dev/null @@ -1,15 +0,0 @@ -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 -} |