mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 00:16:45 +02:00
29 lines
1.1 KiB
Text
29 lines
1.1 KiB
Text
# Maintainer: Sertonix <sertonix@posteo.net>
|
|
_fontname=stix
|
|
pkgname=font-$_fontname-otf
|
|
pkgver=2.13
|
|
pkgrel=0
|
|
_gitrev=ba5282d4706054e82332d3863ac96e069b34f032
|
|
pkgdesc="OpenType Unicode fonts for Scientific, Technical, and Mathematical texts"
|
|
url="https://github.com/stipub/stixfonts"
|
|
arch="noarch"
|
|
license="OFL-1.1-RFN"
|
|
subpackages="font-$_fontname-ttf:_ttf"
|
|
source="$pkgname-$pkgver.zip::https://github.com/stipub/stixfonts/raw/v$pkgver/zipfiles/static_otf.zip
|
|
font-$_fontname-ttf-$pkgver.zip::https://github.com/stipub/stixfonts/raw/v$pkgver/zipfiles/variable_ttf.zip"
|
|
builddir="$srcdir"
|
|
options="!check" # is font
|
|
|
|
package() {
|
|
install -Dm644 static_otf/*.otf -t "$pkgdir/usr/share/fonts/$_fontname"
|
|
install -Dm644 variable_ttf/*.ttf -t "$pkgdir/usr/share/fonts/$_fontname"
|
|
}
|
|
|
|
_ttf() {
|
|
amove usr/share/fonts/"$_fontname"/'*.ttf'
|
|
}
|
|
|
|
sha512sums="
|
|
c485fbd51a51bbbaae4f49402a258366ada7a544670788b1126793f70555f3c0d748c01a1123900e6e4ee0e64b137e993f8d28e4bbecd1f0cfb0ab6f4ddd5b45 font-stix-otf-2.13.zip
|
|
62cbd5bf8cba527b7d70df01e71c5a81deed6ac5118105f937a0b89b31f56f8d3b099d260a06c92833c243b4cf9606da61b27efa4895fac45b4790060613d0cb font-stix-ttf-2.13.zip
|
|
"
|