diff options
Diffstat (limited to 'user/ttf-noto/APKBUILD')
-rw-r--r-- | user/ttf-noto/APKBUILD | 37 |
1 files changed, 31 insertions, 6 deletions
diff --git a/user/ttf-noto/APKBUILD b/user/ttf-noto/APKBUILD index 21c83d972..94a87560b 100644 --- a/user/ttf-noto/APKBUILD +++ b/user/ttf-noto/APKBUILD @@ -1,8 +1,9 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=ttf-noto -pkgver=20170403 -pkgrel=2 +pkgver=20220420 +_commit=c8729a9e61b2a54a9d2b4c61a82d4d93213bd6e3 +pkgrel=0 pkgdesc="Noto font family" url="https://www.google.com/get/noto/" arch="noarch" @@ -12,22 +13,46 @@ depends="fontconfig" makedepends="" # added fontconfig configuration from: # https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings -source="https://dev.gentoo.org/~floppym/dist/noto-$pkgver.tar.xz +source="noto-${pkgver}.tar.gz::https://github.com/googlefonts/noto-fonts/archive/${_commit}.tar.gz 40-noto-arabic.conf 45-noto-sans.conf 45-noto-serif.conf 90-tt-noto-sans.conf 90-tt-noto-serif.conf" -builddir="$srcdir"/noto-$pkgver +builddir="$srcdir"/noto-fonts-$_commit package() { mkdir -p "$pkgdir"/usr/share/fonts/$pkgname/ mkdir -p "$pkgdir"/etc/fonts/conf.d/ - cp "$builddir"/*.ttf "$pkgdir"/usr/share/fonts/$pkgname/ + # FIXME: no-clobber is a kludge to get past these duplicate-named fonts: + # $ find . -type f -name "*.ttf" | cut -d/ -f3 | sort | uniq -d | while read k; do find . -type f -name "${k}"; done | sort + # ./NotoSansTifinagh/NotoSansTifinaghAPT-Regular.ttf + # ./NotoSansTifinagh/NotoSansTifinaghAdrar-Regular.ttf + # ./NotoSansTifinagh/NotoSansTifinaghAgrawImazighen-Regular.ttf + # ./NotoSansTifinagh/NotoSansTifinaghAhaggar-Regular.ttf + # ./NotoSansTifinagh/NotoSansTifinaghAir-Regular.ttf + # ./NotoSansTifinagh/NotoSansTifinaghAzawagh-Regular.ttf + # ./NotoSansTifinagh/NotoSansTifinaghGhat-Regular.ttf + # ./NotoSansTifinagh/NotoSansTifinaghHawad-Regular.ttf + # ./NotoSansTifinagh/NotoSansTifinaghRhissaIxa-Regular.ttf + # ./NotoSansTifinagh/NotoSansTifinaghSIL-Regular.ttf + # ./NotoSansTifinagh/NotoSansTifinaghTawellemmet-Regular.ttf + # ./NotoSansTifinaghAPT/NotoSansTifinaghAPT-Regular.ttf + # ./NotoSansTifinaghAdrar/NotoSansTifinaghAdrar-Regular.ttf + # ./NotoSansTifinaghAgrawImazighen/NotoSansTifinaghAgrawImazighen-Regular.ttf + # ./NotoSansTifinaghAhaggar/NotoSansTifinaghAhaggar-Regular.ttf + # ./NotoSansTifinaghAir/NotoSansTifinaghAir-Regular.ttf + # ./NotoSansTifinaghAzawagh/NotoSansTifinaghAzawagh-Regular.ttf + # ./NotoSansTifinaghGhat/NotoSansTifinaghGhat-Regular.ttf + # ./NotoSansTifinaghHawad/NotoSansTifinaghHawad-Regular.ttf + # ./NotoSansTifinaghRhissaIxa/NotoSansTifinaghRhissaIxa-Regular.ttf + # ./NotoSansTifinaghSIL/NotoSansTifinaghSIL-Regular.ttf + # ./NotoSansTifinaghTawellemmet/NotoSansTifinaghTawellemmet-Regular.ttf + cp -n "$builddir"/hinted/ttf/*/*.ttf "$pkgdir"/usr/share/fonts/$pkgname/ cp "$srcdir"/*.conf "$pkgdir"/etc/fonts/conf.d/ } -sha512sums="f8f1414b5b6f793e86ef3cc6a6320c4545f079b337c7672cb8cccc3c50d21d353d81557da4a555cdb6524c79be3e4c167f7d5aac102c38d64926f3b1887ca7f3 noto-20170403.tar.xz +sha512sums="8d9a2b32bb49e4dc2e341141322856bd7da337de7176ecbb04a742e483f00d283afa33e2c601d0ee78fb4677166affdf9ac83083bda9d5b82e495a8986ece8c0 noto-20220420.tar.gz 47396e7a4e5dfb38d3df6dff0b4584757cc132f393d3410463eefc3dbb5f2af592a6b07a4c098d8c594be03f23e4eb84b76b672245fe0cea816927cf535ea270 40-noto-arabic.conf 748dfecbc3ad5c3750764e6ae889bbc4e614885237bb91ece138d2dc5014fd41ea6361b32982cfa4e76c7c092e0b93f90cccd0b92acbd408b7c302c44c1523e6 45-noto-sans.conf 5059295a1c36c4ec4aae61443221ee74876315127895da0773e4feb77e70cfc4b7923dde8f6510d6cf9de019082e15f1f4fd4b53f0bce4d2a681541f2de587df 45-noto-serif.conf |