summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a80ef1e8fa3876522cda7ce3362799780b402919 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id$
# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
pkgname=persian-hm-xs2-fonts
pkgver=3.5
pkgrel=1
pkgdesc="A Persian font series derived from X Series 2 fonts with Kashida feature."
url="https://bitbucket.org/dma8hm1334"
arch=(any)
license=('custom:OFL')
depends=('fontconfig')
provides=('ttf-persian-hm-xs2')
conflicts=('ttf-persian-hm-xs2')
source=("${url}/persian-hm-xs2-${pkgver}/downloads/persian-hm-xs2-${pkgver}.7z")
sha256sums=('c634724b03edf80ea7d56abd88bc538061427251f1995efc479f5d7b633e8d6b')

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: