archrelease: copy trunk to community-any
[ArchLinux/community.git] / ttf-anonymous-pro / repos / community-any / PKGBUILD
blob7625313e1bbea712e33c9841f04604f5d50786b0
1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
2 # Contributor: Rick W. Chen <stuffcorpse at archlinux dot us>
3 # Contributor: Gaute Hope <eg@gaute.vetsj.com>
4 # Contributor: Stein Krauz <steinkrauz@yahoo.com>
6 pkgname=ttf-anonymous-pro
7 pkgver=1.003
8 pkgrel=7
9 pkgdesc='A family of four fixed-width fonts designed especially with coding in mind'
10 arch=('any')
11 url='https://www.marksimonson.com/fonts/view/anonymous-pro'
12 license=('custom:OFL')
13 depends=('xorg-fonts-encodings')
14 source=('https://www.marksimonson.com/assets/content/fonts/AnonymousPro-1_002.zip'
15         'https://www.marksimonson.com/assets/content/fonts/AnonymousProMinus-1_003.zip')
16 sha512sums=('e34c757b6be907b84194b4506ec2389113bb0d3750d518d7b2f7f9deb992172fd625dfb5a9c105df985b796c15559a5fcf53b123e86449a3fb71fdbfb57b6dd1'
17             'd0019892c2a2c2ab90142f01dffb6a3c115d436181060247061c24256d333ae2ab6f28e1a233657061cc8b068b02ee974e5b6ffe4b9c26fb1c792d713f81d7ab')
18 b2sums=('e9cc288dfca7836cf914d5b225b64998467fad2da7c164104a1903ae6884713ca354329d0e1d26720b1e6c18e40d70f3509cf11d6d462ba96d345b9b93570fe5'
19         '461979adcb141b40cc64fe0e9c961a9a9ae2dc2f3ba0797d0869ff405067a96dbad795518e686b060240891ed72e99a1d11ad0f7c262bea0cb496795bb935003')
21 package() {
22   install -d "${pkgdir}/usr/share/fonts/TTF/"
23   install -m644 AnonymousPro-1.002.001/*.ttf "${pkgdir}/usr/share/fonts/TTF/"
24   install -m644 AnonymousProMinus-1_003/*.ttf "${pkgdir}/usr/share/fonts/TTF/"
26   install -d "${pkgdir}"/usr/share/licenses/${pkgname}
27   install -m644 AnonymousPro-1.002.001/OFL{,-FAQ}.txt \
28     "${pkgdir}"/usr/share/licenses/${pkgname}