summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7a453a6d7a2d0ffd098f1518d09f0aed707bb29a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Alexander Kobel <a-kobel@a-kobel.de>
# Contributors:
#   Stefan Husmann <stefan-husmann@t-online.de>
#   Amin Bandali <bandali@gnu.org>

pkgname=otf-alegreya
pkgver=2.008
pkgrel=1
pkgdesc='Serif family, part of the Alegreya "super family"'
arch=('any')
depends=('fontconfig')
url='https://www.huertatipografica.com/en/fonts/alegreya-ht-pro'
source=("https://github.com/huertatipografica/Alegreya/archive/v${pkgver}.tar.gz")
sha256sums=('44dacbe3c4b60c203b1d60f0a55ebf6c139823f83fd234f9b078ece7cb15676e')
conflicts=('otf-google-fonts-hg')
license=('custom:OFL')

package() {
  install -m644 -Dt "${pkgdir}/usr/share/fonts/OTF/" \
    "${srcdir}"/Alegreya-${pkgver}/fonts/otf/*.otf
  install -Dm644 \
    "${srcdir}/Alegreya-${pkgver}/OFL.txt" \
    "${pkgdir}/usr/share/licenses/${pkgname}/OFL.txt"
}