archrelease: copy trunk to community-any
[ArchLinux/community.git] / inter-font / trunk / PKGBUILD
blobd508ad19f9833a6400482152008118c44f47c401
1 # Maintainer: Ivy Foster <iff@archlinux.org>
2 # Reference: PKGBUILD(5)
4 pkgname=inter-font
5 pkgver=3.19
6 pkgrel=3
7 pkgdesc='A typeface specially designed for user interfaces'
8 url=https://github.com/rsms/inter/
9 license=(custom:OFL)
11 arch=(any)
12 source=("https://github.com/rsms/inter/releases/download/v$pkgver/Inter-$pkgver.zip")
13 # Warning: checksums provided by packager, not upstream
14 sha256sums=(150ab6230d1762a57bebf35dfc04d606ff91598a31d785f7f100356ecdcc0032)
15 noextract=("Inter-$pkgver.zip")
17 # Upstream dumps a *bunch* of stuff into the top level of the archive
18 prepare() {
19         mkdir "inter-$pkgver"
20         cd "inter-$pkgver"
21         bsdtar xf ../Inter-$pkgver.zip
24 package() {
25         cd "inter-$pkgver"
26         install -d "$pkgdir/usr/share/fonts/inter"
27         install -m644 -t "$pkgdir/usr/share/fonts/inter" 'Inter Hinted for Windows'/Desktop/*.ttf
28         install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/inter-font/LICENSE.txt"