summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD25
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2ec644222a0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Sat Jan 21 17:43:20 UTC 2017
+pkgbase = persian-hm-xs2-fonts
+ pkgdesc = A Persian font series derived from X Series 2 fonts with Kashida feature.
+ pkgver = 3.2
+ pkgrel = 1
+ url = http://dma8hm1334.bitbucket.org/persian-hm-xs2/index.html
+ arch = any
+ license = custom:OFL
+ depends = fontconfig
+ provides = ttf-persian-hm-ftx
+ provides = persian-hm-xs2-fonts
+ conflicts = ttf-persian-hm-ftx
+ conflicts = persian-hm-xs2-fonts
+ replaces = ttf-persian-hm-ftx
+ source = https://bitbucket.org/dma8hm1334/persian-hm-xs2-3.2/downloads/persian-hm-xs2-3.2.7z
+ sha256sums = e87d8c25f1c36bca8605a4cee42056d8a76da7bab9cc898408565874e492fe62
+
+pkgname = persian-hm-xs2-fonts
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9fe01f0656a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
+
+pkgname=persian-hm-xs2-fonts
+pkgver=3.2
+pkgrel=1
+pkgdesc="A Persian font series derived from X Series 2 fonts with Kashida feature."
+url="http://dma8hm1334.bitbucket.org/persian-hm-xs2/index.html"
+arch=(any)
+license=('custom:OFL')
+depends=('fontconfig')
+provides=('ttf-persian-hm-ftx' "$pkgname")
+conflicts=('ttf-persian-hm-ftx' "$pkgname")
+replaces=('ttf-persian-hm-ftx')
+source=("https://bitbucket.org/dma8hm1334/persian-hm-xs2-$pkgver/downloads/persian-hm-xs2-$pkgver.7z")
+sha256sums=('e87d8c25f1c36bca8605a4cee42056d8a76da7bab9cc898408565874e492fe62')
+
+package() {
+ cd $srcdir/${pkgname%-fonts}-$pkgver
+ install -d "$pkgdir/usr/share/fonts/${pkgname%-fonts}"
+ install -t "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 ./fonts/Ttf/*.ttf
+ install -Dm644 ./OFL.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: