summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7ef5cd465caae6a8c2df7b70c04559d850bf26d6 (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: Caltlgin Stsodaat <contact@fossdaily.xyz>

pkgname='ttf-ecofont-sans'
pkgver=2.04
pkgrel=1
pkgdesc='Ecologically friendly sans font'
arch=('any')
url='https://www.ecofont.com'
license=('custom')
# Use archive.org to download the free font; due to it no longer being avaliable for download on current ecofont.com website
source=("${pkgname}-${pkgver}.ttf::https://web.archive.org/web/20170302165133/http://www.ecofont.com/assets/files/spranq_eco_sans_regular.ttf"
        "${pkgname}-${pkgver}-README.pdf::https://web.archive.org/web/20161011042213/http://www.ecofont.com/assets/files/ecofontsans/EcofontSans-Example.pdf"
        "${pkgname}-${pkgver}-LICENSE.pdf::https://web.archive.org/web/20150801161738/http://www.ecofont.eu:80/assets/files/Ecofont_licence.pdf")
sha256sums=('f73e3534e5af1145cc18de7f650e58884448cb5d2528300cd4d890616e0307a6'
            '11124bd45af31b2bfcfaaa030f2ab9d4d38d274b8bc100f209c04c8c53eef24c'
            '4b97091063d921c3766bdb81f3c3eaedea37815c222fdc5ef83d71cf896f8e2f')

package() {
  install -Dm644 "${pkgname}-${pkgver}.ttf" "${pkgdir}/usr/share/fonts/TTF/${pkgname}.ttf"
  install -Dm644 "${pkgname}-${pkgver}-README.pdf"  "${pkgdir}/usr/share/doc/${_pkgname}/README.pdf"
  install -Dm644 "${pkgname}-${pkgver}-LICENSE.pdf" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE.pdf"
}

# vim:set ts=2 sw=2 et: