ptrcports/font-atb2/APKBUILD

33 lines
860 B
Text
Raw Normal View History

2024-07-18 10:12:29 +00:00
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=font-atb2
pkgver=1
pkgrel=0
pkgdesc="Banedanmark mittog.dk fonts"
url="https://mittog.dk"
arch="aarch64 x86_64"
license="custom"
makedepends="woff2"
source="
AtB2Screen-Medium.woff2
AtB2Screen-Regular.woff2
"
builddir="$srcdir"
options="!check" # is font
build() {
for file in *.woff2; do
woff2_decompress "$file"
done
}
package() {
mkdir -p "$pkgdir"/usr/share/fonts/atb2
cp ./*.ttf "$pkgdir"/usr/share/fonts/atb2/
}
sha512sums="
6ab2bb8117dbc55c2d18c8381a303b3ab4824733a2ee60c9f2cf21cacc6e1d04e8728193dfe5a9271e8876a5bd06c376cfcbfec492f58a4c2ce491d5b6f5ccb6 AtB2Screen-Medium.woff2
a3d18c57aa3fab75838475148f7d5600b8b34aa1e3fc7e74c16e8b8e30336f22b5007166fc3f552daab13da73824722dd2da925588382a2c4c2d8ba03e1b1314 AtB2Screen-Regular.woff2
"