diff options
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 10 insertions, 17 deletions
@@ -1,18 +1,13 @@ -# Generated by mksrcinfo v8 -# Sat Jan 21 19:16:32 UTC 2017 pkgbase = vazir-code-fonts pkgdesc = A beautiful monospace Persian font based on Vazir and Inconsolata fonts. pkgver = 1.0.3 - pkgrel = 1 - url = https://rastikerdar.github.io/vazir-code-font/ + pkgrel = 2 + url = https://github.com/rastikerdar/vazir-code-font arch = any license = OFL depends = fontconfig provides = ttf-vazir-code - provides = vazir-code-fonts conflicts = ttf-vazir-code - conflicts = vazir-code-fonts - replaces = ttf-vazir-code source = vazir-code-fonts-1.0.3.zip::https://github.com/rastikerdar/vazir-code-font/releases/download/v1.0.3/vazir-code-font-v1.0.3.zip sha256sums = 8a0bcc3e0ab9f086aeb3d8d2827825dc5b582f34562ad4c0b6f79242a692249a @@ -3,22 +3,20 @@ pkgname=vazir-code-fonts pkgver=1.0.3 -pkgrel=1 +pkgrel=2 pkgdesc="A beautiful monospace Persian font based on Vazir and Inconsolata fonts." -url="https://rastikerdar.github.io/vazir-code-font/" +url="https://github.com/rastikerdar/vazir-code-font" arch=(any) license=('OFL') depends=('fontconfig') -provides=('ttf-vazir-code' "$pkgname") -conflicts=('ttf-vazir-code' "$pkgname") -replaces=('ttf-vazir-code') -source=("$pkgname-$pkgver.zip::https://github.com/rastikerdar/vazir-code-font/releases/download/v$pkgver/vazir-code-font-v$pkgver.zip") +provides=('ttf-vazir-code') +conflicts=('ttf-vazir-code') +source=("${pkgname}-${pkgver}.zip::${url}/releases/download/v${pkgver}/vazir-code-font-v${pkgver}.zip") sha256sums=('8a0bcc3e0ab9f086aeb3d8d2827825dc5b582f34562ad4c0b6f79242a692249a') package() { - install -d "$pkgdir/usr/share/fonts/${pkgname%-fonts}" - install -t "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 ./Vazir-Code*.{eot,ttf,woff} - install -Dm644 ./LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -d "${pkgdir}/usr/share/fonts/${pkgname%-fonts}" + install -t "${pkgdir}/usr/share/fonts/${pkgname%-fonts}" -m644 ./Vazir-Code*.ttf + install -Dm644 ./LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } - # vim:set ts=2 sw=2 et: |