summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rwxr-xr-xPKGBUILD22
-rwxr-xr-xttf-malayalam-fonts.install15
3 files changed, 17 insertions, 36 deletions
diff --git a/.SRCINFO b/.SRCINFO
index edcaa2b39d6a..c1a523c8cc66 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,15 @@
pkgbase = ttf-malayalam-font-dyuthi
pkgdesc = This is Dyuthi, a font belonging to a set of TrueType and OpenType fonts released under the GNU General Public License for Malayalam Language.
- pkgver = 2.0.0+20180306
+ pkgver = 3.0.0+20221109
pkgrel = 1
url = http://smc.org.in/fonts/
- install = ttf-malayalam-fonts.install
arch = any
- license = OFL1.1
- depends = fontconfig
- depends = xorg-font-utils
- source = http://smc.org.in/downloads/fonts/dyuthi/Dyuthi.ttf
- source = https://gitlab.com/smc/dyuthi/raw/master/67-smc-dyuthi.conf
- sha256sums = 1bb3c96bba9ac50f9c35bca140641cd78d850157f36d7cc733399996c1f47515
+ license = OFL
+ source = http://smc.org.in/downloads/fonts/dyuthi/Dyuthi-Regular.ttf
+ source = https://gitlab.com/smc/fonts/dyuthi/raw/master/LICENSE.txt
+ source = https://gitlab.com/smc/fonts/dyuthi/raw/master/67-smc-dyuthi.conf
+ sha256sums = 2af458df4da1c27b781aeba77f45ac842fe8ac659983f481cecc047ec274d114
+ sha256sums = 3c039a91d61ba6b48397d0c1b1af9306686c79cfd0bd0735089b8499955a3e30
sha256sums = 3ca219d970748beaa7b64f3cacf398fff5f6164786f9db6a93292fa81c919652
pkgname = ttf-malayalam-font-dyuthi
-
diff --git a/PKGBUILD b/PKGBUILD
index 4cceeac52835..897ad37deba5 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,23 +4,21 @@
# Contributor: Jishnu Mohan jishnu7 at gmail dot com
pkgname=ttf-malayalam-font-dyuthi
-pkgver=2.0.0+20180306
+pkgver=3.0.0+20221109
pkgrel=1
pkgdesc="This is Dyuthi, 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=("OFL1.1")
-depends=(fontconfig xorg-font-utils)
-source=("http://smc.org.in/downloads/fonts/dyuthi/Dyuthi.ttf"
- "https://gitlab.com/smc/dyuthi/raw/master/67-smc-dyuthi.conf")
-sha256sums=('1bb3c96bba9ac50f9c35bca140641cd78d850157f36d7cc733399996c1f47515'
+license=("OFL")
+source=("http://smc.org.in/downloads/fonts/dyuthi/Dyuthi-Regular.ttf"
+ "https://gitlab.com/smc/fonts/dyuthi/raw/master/LICENSE.txt"
+ "https://gitlab.com/smc/fonts/dyuthi/raw/master/67-smc-dyuthi.conf")
+sha256sums=('2af458df4da1c27b781aeba77f45ac842fe8ac659983f481cecc047ec274d114'
+ '3c039a91d61ba6b48397d0c1b1af9306686c79cfd0bd0735089b8499955a3e30'
'3ca219d970748beaa7b64f3cacf398fff5f6164786f9db6a93292fa81c919652')
-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/licenses/$pkgname" LICENSE.txt
+ 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
-}