summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d6854df6986664ab60f24dd37f2bad5c4580481b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: fenuks

pkgname=ttf-librebaskerville
pkgver=1.0
pkgrel=5
pkgdesc="Libre Baskerville is webfont optimized for web body text (typically 16px). It's based on 1941 ATF Specimens, but it has a taller x height, wider counters and minor contrast that allow it to work on small sizes in any screen."
arch=("any")
# https://github.com/impallari/Libre-Baskerville
url="http://www.impallari.com/projects/overview/libre-baskerville"
license=("custom:OFL")
source=("https://github.com/impallari/Libre-Baskerville/archive/master.zip")
sha256sums=('SKIP')


package() {
    cd "${srcdir}/Libre-Baskerville-master"
    install -d "${pkgdir}/usr/share/fonts/TTF"
    install -m644 legacy/version-1.000/LibreBaskerville-{Bold,Italic,Regular}.ttf "${pkgdir}/usr/share/fonts/TTF"

    # Licence installation
    # install -d "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    install -Dm644 "legacy/version-1.000/OFL.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}