archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / overpass-fonts / trunk / PKGBUILD
blobb18e82b046b8e2932ffefc73f467be4d10d7aac9
1 # Maintainer: David Runge <dvzrv@archlinux.org>
3 _name=Overpass
4 pkgbase=overpass-fonts
5 pkgname=(otf-overpass ttf-overpass)
6 pkgver=3.0.5
7 pkgrel=2
8 pkgdesc="Open source web font family"
9 arch=(any)
10 url="https://overpassfont.org/"
11 license=(custom:OFL-1.1 LGPL2.1)
12 source=(https://github.com/RedHatOfficial/$_name/archive/v$pkgver/$_name-v$pkgver.tar.gz)
13 sha512sums=('ecddf1e77879da14faf121d4080ad5d0d1e2737d1d45455beb6384bd14662e8898c37f8767f4d87317df524d5946f08b26693198865f12b889ccd91a839cc452')
14 b2sums=('e9748ab528bee6f0f4dbe2d1fb1a086808905cb00dd1a646a8e245006dec9f306b56b23d5eebc216f3b4088ba9dc84898869fa0fbba9aa345a62a536934245d6')
16 package_otf-overpass() {
17   pkgdesc+=" (Open Type Font)"
19   install -vDm 644 $_name-$pkgver/desktop-fonts/overpass{,-mono}/*.otf -t "$pkgdir/usr/share/fonts/OTF/"
20   install -vDm 644 $_name-$pkgver/LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname/"
21   install -vDm 644 $_name-$pkgver/README.md -t "$pkgdir/usr/share/doc/$pkgname/"
24 package_ttf-overpass() {
25   pkgdesc+=" (True Type Font)"
27   install -vDm 644 $_name-$pkgver/webfonts/overpass{,-mono}-webfont/*.ttf -t "$pkgdir/usr/share/fonts/TTF/"
28   install -vDm 644 $_name-$pkgver/LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname/"
29   install -vDm 644 $_name-$pkgver/README.md -t "$pkgdir/usr/share/doc/$pkgname/"