summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAli Molaei2022-03-09 17:51:55 +0330
committerAli Molaei2022-03-09 17:51:55 +0330
commit1d370e4517d2e243034024a5a20ce6c508c05d83 (patch)
tree60a583d92e0931a2c2684c8246f6515bde7c2f25
parent143aa15d5cf9dfdc50f622c30ea7ac96b4acc22a (diff)
downloadaur-1d370e4517d2e243034024a5a20ce6c508c05d83.tar.gz
Make it a dummy package that installs vazirmatn-fonts
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD19
2 files changed, 16 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cd934bdb0841..578c2420779d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,16 @@
pkgbase = vazir-fonts
pkgdesc = A beautiful Persian font based on DejaVu font.
- pkgver = 30.1.0
+ pkgver = 32.0.0
pkgrel = 1
- url = https://github.com/rastikerdar/vazir-font
+ url = https://github.com/rastikerdar/vazirmatn
arch = any
license = OFL
+ depends = vazirmatn-fonts
provides = ttf-vazir
+ provides = vazir-fonts
+ provides = vazirmatn
+ provides = vazirmatn-fonts
conflicts = ttf-vazir
- source = vazir-fonts-30.1.0.zip::https://github.com/rastikerdar/vazir-font/releases/download/v30.1.0/vazir-font-v30.1.0.zip
- source = LICENSE::https://raw.githubusercontent.com/rastikerdar/vazir-font/master/OFL.txt
- sha256sums = 0b10a9624f45b00c68a22b5727697ebc0ed94d5bf067e81cdad02d5e7e91f02d
- sha256sums = 0deb92b7b0e3d3eceeb1cffed7789d64edbcff39c611aecca96a9fc3f805835a
+ conflicts = vazirmatn
pkgname = vazir-fonts
diff --git a/PKGBUILD b/PKGBUILD
index 5ec58614d700..11ce22e300eb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,20 @@
# Maintainer: Ali Molaei <ali dot molaei at protonmail dot com>
# Contributor: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
+# This is now a dummy package, it will install vazirmatn-fonts
+# This is due to the font being renamed by the main developer
+# https://rastikerdar.github.io/vazirmatn/fa/docs/HELP-fa
+# https://github.com/rastikerdar/vazirmatn/issues/235
+
pkgname=vazir-fonts
-pkgver=30.1.0
+pkgver=32.0.0
pkgrel=1
pkgdesc="A beautiful Persian font based on DejaVu font."
-url="https://github.com/rastikerdar/vazir-font"
+url="https://github.com/rastikerdar/vazirmatn"
arch=(any)
license=('OFL')
-provides=('ttf-vazir')
-conflicts=('ttf-vazir')
-source=("${pkgname}-${pkgver}.zip::${url}/releases/download/v${pkgver}/vazir-font-v${pkgver}.zip"
- "LICENSE::https://raw.githubusercontent.com/rastikerdar/vazir-font/master/OFL.txt")
-sha256sums=('0b10a9624f45b00c68a22b5727697ebc0ed94d5bf067e81cdad02d5e7e91f02d'
- '0deb92b7b0e3d3eceeb1cffed7789d64edbcff39c611aecca96a9fc3f805835a')
+depends=('vazirmatn-fonts')
package() {
- install -Dt "${pkgdir}/usr/share/fonts/${pkgname%-fonts}" -m644 ./{,**/}*.ttf
- install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 ./LICENSE
+ :
}