Package Details: otf-manjari 2.200-1

Git Clone URL: https://aur.archlinux.org/otf-manjari.git (read-only, click to copy)
Package Base: otf-manjari
Description: Malayalam unicode font with rounded terminals suitable for body text.
Upstream URL: https://smc.org.in/fonts
Licenses: OFL
Submitter: jishnu7
Maintainer: jishnu7 (aashiks)
Last Packager: aashiks
Votes: 9
Popularity: 0.000000
First Submitted: 2018-11-27 14:46 (UTC)
Last Updated: 2024-11-05 22:52 (UTC)

Latest Comments

princepaulk commented on 2024-04-17 15:30 (UTC) (edited on 2024-04-17 15:34 (UTC) by princepaulk)

Here is a patch for version 2.200 to solve the out of date flag.


--- PKGBUILD.old
+++ PKGBUILD
@@ -3,18 +3,18 @@
 # Contributor: Ashik Salahudeen ashik at inflo dot ws

 pkgname=otf-manjari
-pkgver=2.000
+pkgver=2.200
 pkgrel=1
 pkgdesc="Malayalam unicode font with rounded terminals suitable for body text."
 arch=(any)
 license=("OFL")
 url="https://releases.smc.org.in/fonts/manjari"
 source=(
-"$url/Version$pkgver/manjari-Version$pkgver.zip"
-"$url/Version$pkgver/OFL.txt"
-"67-smc-manjari.conf"
+  "$url/Version$pkgver/manjari-Version$pkgver.zip"
+  "$url/Version$pkgver/OFL.txt"
+  "67-smc-manjari.conf"
 )
-sha256sums=('cb0d60a6d8a20d7da8c9bb7689a27924b068f0b21bd1af61bc85a2b4969b9c6f'
+sha256sums=('21fafa55a014e8e64608050850f9ad1696a22a9ebdf8c776b6a24bd436852264'
             '3ff5ecb5ffbfe008bcc1e2861f2124aabd5571ad1ae9badc245a4e383727ccd2'
             '9db802bf36c46debd96e9d63a152d8baf0a788e88e8675991ea2802706545780')

aashiks commented on 2021-02-09 07:22 (UTC) (edited on 2021-02-09 07:23 (UTC) by aashiks)

Here is a patch that could fix the package.

--- PKGBUILD    2021-02-09 15:20:16.477126643 +0800
+++ PKGBUILD.new    2021-02-08 23:26:30.487279787 +0800
@@ -2,18 +2,18 @@
 # Contributor: Jishnu Mohan jishnu7 at gmail dot com

 pkgname=otf-manjari
-pkgver=1.910
+pkgver=1.920
 pkgrel=2
 pkgdesc="Malayalam unicode font with rounded terminals suitable for body text."
 arch=(any)
 license=("OFL")
-url="https://releases.smc.org.in/fonts/manjari/"
+url="https://releases.smc.org.in/fonts/manjari"
 source=(
 "$url/Version$pkgver/manjari-Version$pkgver.zip"
-"https://gitlab.com/smc/fonts/manjari/-/raw/master/LICENSE.txt"
+"$url/Version$pkgver/LICENSE.txt"
 "67-smc-manjari.conf"
 )
-sha256sums=('2d0b8bd1d2df01cfa0db8dde27ad0b050f112fbd9d4a453fa6f0f378b833a3e1'
+sha256sums=('492c42d53e9a5f194a88bcbfef13d5893ee6311f691c6044221e78a3c0acfd92'
             '3ff5ecb5ffbfe008bcc1e2861f2124aabd5571ad1ae9badc245a4e383727ccd2'
             '9db802bf36c46debd96e9d63a152d8baf0a788e88e8675991ea2802706545780')

jishnu7 commented on 2020-09-01 04:27 (UTC)

I have requested upstream to include license file with each release archive. Will remove the gitlab url with next release.

alerque commented on 2020-08-31 21:19 (UTC)

Thanks, it looks much better now. Good find on upstream versioned sources. The last thing I see is that the license file shouldn't be fetched from master, that should be pulled from the version tag as well. It's unlikely that the license will change frequently and you might get away with this for some releases, but eventually somebody is going to bump the copyright date or add the contributor list and the package will break because the checksum changes.

jishnu7 commented on 2020-08-31 13:26 (UTC)

Thanks @caleb, package is now updated with all the suggestions you made and it now follows arch guidelines.

alerque commented on 2020-08-28 15:38 (UTC)

A few things to fix on this packaging:

  • The source downloads need to be versioned, otherwise people can't build updates. The source zip can be downloaded with a prefix like this:

    source=("$pkgname-pkgver.zip::https://smc.org.in/downloads/fonts/manjari/manjari.zip")

  • The license should be listed as license=('OFL'), no version.

  • Drop the install file and matching line completely, that stuff is obsolete, see the Wiki for font packaging guidelines.

  • Remove the || return 1 nonsense from all lines in the package() function.

  • Remove the conflicts with the TTF package, OTF and TTF fonts can co-exist. Also the package referenced doesn't even exist.