summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD16
2 files changed, 11 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 44f15882d14b..8020bf28eb78 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,17 @@
# Generated by mksrcinfo v8
-# Fri Mar 31 17:42:30 UTC 2017
+# Sat Oct 14 13:20:18 UTC 2017
pkgbase = tanha-fonts
pkgdesc = A beautiful Persian font based on Samim and Vazir font.
- pkgver = 0.5
+ pkgver = 0.8
pkgrel = 1
url = https://rastikerdar.github.io/tanha-font/
arch = any
license = OFL
depends = fontconfig
provides = ttf-tanha
- provides = tanha-fonts
conflicts = ttf-tanha
- conflicts = tanha-fonts
- replaces = ttf-tanha
- source = tanha-fonts-0.5.zip::https://github.com/rastikerdar/tanha-font/archive/master.zip
- sha256sums = 526a43a38c668e3fc9ab2edad1f18470b6c35682c9df5ca618b6e9cc222bcef0
+ source = tanha-fonts-0.8.zip::https://github.com/rastikerdar/tanha-font/releases/download/v0.8/tanha-font-v0.8.zip
+ sha256sums = 7ff0e6a393e258c5db29e6ff0adf6c31d8d39991290cd77f530672a40f11e04f
pkgname = tanha-fonts
diff --git a/PKGBUILD b/PKGBUILD
index 4cf58490cd63..df883c1d0f7c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,22 @@
# $Id$
# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
-
pkgname=tanha-fonts
-pkgver=0.5
+pkgver=0.8
pkgrel=1
pkgdesc="A beautiful Persian font based on Samim and Vazir font."
url="https://rastikerdar.github.io/tanha-font/"
arch=(any)
license=('OFL')
depends=('fontconfig')
-provides=('ttf-tanha' "$pkgname")
-conflicts=('ttf-tanha' "$pkgname")
-replaces=('ttf-tanha')
-source=("$pkgname-$pkgver.zip::https://github.com/rastikerdar/tanha-font/archive/master.zip")
-sha256sums=('526a43a38c668e3fc9ab2edad1f18470b6c35682c9df5ca618b6e9cc222bcef0')
+provides=('ttf-tanha')
+conflicts=('ttf-tanha')
+source=("${pkgname}-${pkgver}.zip::https://github.com/rastikerdar/tanha-font/releases/download/v${pkgver}/tanha-font-v${pkgver}.zip")
+sha256sums=('7ff0e6a393e258c5db29e6ff0adf6c31d8d39991290cd77f530672a40f11e04f')
package() {
- cd tanha-font-master
install -d "$pkgdir/usr/share/fonts/${pkgname%-fonts}"
- install -t "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 ./dist/Tanha.{eot,ttf,woff}
+ install -t "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 ./Tanha*.{eot,ttf,woff{,2}}
+ install -t "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 ./{Farsi*,Without-Latin}/Tanha*.{eot,ttf,woff{,2}}
install -Dm644 ./LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}