summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAli Molaei2019-09-26 16:52:28 +0330
committerAli Molaei2019-09-26 16:52:28 +0330
commit4d63405de4c6091342b071b39dd875390616a63d (patch)
tree8b5fdc55d345bb7597ba8594e66e64430e606a6f
downloadaur-4d63405de4c6091342b071b39dd875390616a63d.tar.gz
Initial commit with version 0.3.0
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD21
3 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..62840d31ee0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = nahid-fonts
+ pkgdesc = A beautiful Persian font based on Vazir font.
+ pkgver = 0.3.0
+ pkgrel = 1
+ url = https://github.com/rastikerdar/nahid-font
+ arch = any
+ license = OFL
+ depends = fontconfig
+ provides = ttf-nahid
+ conflicts = ttf-nahid
+ source = nahid-fonts-0.3.0.zip::https://github.com/rastikerdar/nahid-font/releases/download/v0.3.0/nahid-font-v0.3.0.zip
+ sha256sums = 98964cb08f84a4e9f56aaa08055d82f2f44489b9ba7d9cb59a403b38b9a238ab
+
+pkgname = nahid-fonts
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..5be939392fd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+src/
+pkg/
+nahid-fonts-*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a0ec2c69fab
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# $Id$
+# Maintainer: Ali Molaei <ali dot molaei at protonmail dot com>
+
+pkgname=nahid-fonts
+pkgver=0.3.0
+pkgrel=1
+pkgdesc="A beautiful Persian font based on Vazir font."
+url="https://github.com/rastikerdar/nahid-font"
+arch=(any)
+license=('OFL')
+depends=('fontconfig')
+provides=('ttf-nahid')
+conflicts=('ttf-nahid')
+source=("${pkgname}-${pkgver}.zip::${url}/releases/download/v${pkgver}/nahid-font-v${pkgver}.zip")
+sha256sums=('98964cb08f84a4e9f56aaa08055d82f2f44489b9ba7d9cb59a403b38b9a238ab')
+
+package() {
+ install -Dt "${pkgdir}/usr/share/fonts/${pkgname%-fonts}" -m644 ./{,**/}*.ttf
+ install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 ./LICENSE
+}
+# vim:set ts=2 sw=2 et: