ptrcports/alpine/font-via/APKBUILD

42 lines
1.7 KiB
Text

# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=font-via
pkgver=2
pkgrel=0
pkgdesc="DSB brand fonts"
url="https://kontrapunkt.com/work/dsb"
arch="aarch64 x86_64"
license="custom"
makedepends="woff2"
source="
ViaExpertBold.woff2
ViaExpertRegular.woff2
ViaOfficeBold.woff2
ViaOfficeBoldItalic.woff2
ViaOfficeDemi-Bold.woff2
ViaOfficeRegular.woff2
ViaOfficeRegularItalic.woff2
"
builddir="$srcdir"
build() {
for file in *.woff2; do
woff2_decompress "$file"
done
}
package() {
mkdir -p "$pkgdir"/usr/share/fonts/via
cp ./*.ttf "$pkgdir"/usr/share/fonts/via/
}
sha512sums="
68f5623558a75c1125fd3a6cea7327b5de8b4f14efb71d8c5afd815ba28ac7a97b7ed0a0cb49e858ff9e628318f6d1cc44fbfef9f6ee4dd29fb191a5c6b1a16e ViaExpertBold.woff2
8d965455980e55fa16bff5f7c18e27b6fbb45a780e3ab3bf4e3c1274e4151026a0f4ba229181ccaa91a3418605235ba5fa6f8f65bd817fbbec704de7a4045e2b ViaExpertRegular.woff2
54362b285cc0ae5ac40c8d9e1746b92a3431c83febf9a5d236382a475c4aae9201ca0aa78af30f3a41975e845a5851b28ccd366cbc3a3d859c7c9fbc4640d137 ViaOfficeBold.woff2
efe7c8631186f3ef30461f49c493336a2116a69f44b545c49f0e62f534f7e33ee606c6b46815badfea1bea5b263c0d81192e18a5be3128aa891cab2fe06aa576 ViaOfficeBoldItalic.woff2
b4cc20c2519e29267c5dc1c4f9828861d821cc048b1e36be9ade750b9c820a11137a9e13466874bb791f799958cac9147416222ad788d7ac3085d094445ef7a2 ViaOfficeDemi-Bold.woff2
ce64d6fc54a3d1fba6d8da7a2d41dc142e46ba7c35255df09a930a7f53d946e2b1aefb7de84c814f92e584b4b39d54665c3172363921089b5d33161e2eaae4b2 ViaOfficeRegular.woff2
b6edc817ff57d1589352415d9dd3665ccb77a68321e0a59b3b15b4b8116fee7043bb016e1f9b5b57031a7e8d8a30dd55099dde6f992c16371887eb96fa0b8fec ViaOfficeRegularItalic.woff2
"