summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammadreza Abdollahzadeh2017-11-13 15:13:23 +0330
committerMohammadreza Abdollahzadeh2017-11-13 15:13:23 +0330
commitc9da8402f999754bd918e44856a525e99649fd94 (patch)
tree7eb14109c305f5a10db92621933084051529cf16
parent1df74218d8d926fe1c6e0a15e54a2fa69e15e5a9 (diff)
downloadaur-c9da8402f999754bd918e44856a525e99649fd94.tar.gz
fix PKGBUILD and use only ttf format
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD15
2 files changed, 8 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4197c6cef50..e60b7a754af 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,10 @@
# Generated by mksrcinfo v8
-# Sat Nov 4 07:24:05 UTC 2017
+# Mon Nov 13 11:40:21 UTC 2017
pkgbase = samim-fonts
pkgdesc = A beautiful Persian font based on Vazir font.
pkgver = 2.0.1
- pkgrel = 1
- url = https://rastikerdar.github.io/samim-font/
+ pkgrel = 2
+ url = https://github.com/rastikerdar/samim-font
arch = any
license = OFL
depends = fontconfig
diff --git a/PKGBUILD b/PKGBUILD
index 18e1bd4b896..7abb391e362 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,20 @@
-# $Id$
# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
-
pkgname=samim-fonts
pkgver=2.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="A beautiful Persian font based on Vazir font."
-url="https://rastikerdar.github.io/samim-font/"
+url="https://github.com/rastikerdar/samim-font"
arch=(any)
license=('OFL')
depends=('fontconfig')
provides=('ttf-samim' "$pkgname")
conflicts=('ttf-samim' "$pkgname")
replaces=('ttf-samim')
-source=("$pkgname-$pkgver.zip::https://github.com/rastikerdar/samim-font/releases/download/v$pkgver/samim-font-v$pkgver.zip")
+source=("${pkgname}-${pkgver}.zip::${url}/releases/download/v${pkgver}/samim-font-v${pkgver}.zip")
sha256sums=('2d03590a09edc23fc5336edb2a9b67586bbccda14b2320d26a06baf107f51684')
package() {
- install -d "$pkgdir/usr/share/fonts/${pkgname%-fonts}"
- install -t "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 ./Samim*.{eot,ttf,woff*}
- install -t "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 ./{Farsi*,Without-Latin}/Samim*.{eot,ttf,woff*}
- install -Dm644 ./LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ 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: