Date: Wednesday, March 22, 2023 @ 15:18:57 Author: mtorromeo Revision: 1426931
upgpkg: ttf-ubuntu-font-family 0.862-1 Modified: ttf-ubuntu-font-family/trunk/PKGBUILD ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-03-22 15:05:08 UTC (rev 1426930) +++ PKGBUILD 2023-03-22 15:18:57 UTC (rev 1426931) @@ -1,22 +1,38 @@ # Maintainer: Massimiliano Torromeo <[email protected]> pkgname=ttf-ubuntu-font-family -pkgver=0.83 -pkgrel=8 +pkgver=0.862 +pkgrel=1 pkgdesc="Ubuntu font family" arch=('any') url="https://design.ubuntu.com/font/" license=('custom:Ubuntu Font Licence 1.0') -source=(https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-$pkgver.zip - 81-ubuntu.conf) -sha256sums=('456d7d42797febd0d7d4cf1b782a2e03680bb4a5ee43cc9d06bda172bac05b42' - '16e29b1b8d13edddb588e4470f6da4c15870a9a27dd25eb4553c2c575d6dc14e') +source=(https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/fonts-ubuntu/$pkgver-0ubuntu2/fonts-ubuntu_$pkgver.orig.tar.gz) +sha256sums=('c09f49ff7e04e132e9da154d0217cfd9db8d683a41fa4b10ea20150bbab59a79') package() { - cd ubuntu-font-family-$pkgver + cd fonts-ubuntu-$pkgver install -dm755 "$pkgdir"/usr/share/fontconfig/conf.default - install -Dm644 -t "$pkgdir"/usr/share/fonts/ubuntu *.ttf + install -Dm644 -t "$pkgdir"/usr/share/fonts/TTF *.ttf install -Dm644 LICENCE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENCE - install -Dm644 "$srcdir"/81-ubuntu.conf "$pkgdir"/usr/share/fontconfig/conf.avail/81-ubuntu.conf - ln -s ../conf.avail/81-ubuntu.conf "$pkgdir"/usr/share/fontconfig/conf.default/81-ubuntu.conf + + cd "$pkgdir"/usr/share/fonts/TTF + + ln -s "Ubuntu[wdth,wght].ttf" Ubuntu-B.ttf + ln -s "Ubuntu[wdth,wght].ttf" Ubuntu-C.ttf + ln -s "Ubuntu[wdth,wght].ttf" Ubuntu-L.ttf + ln -s "Ubuntu[wdth,wght].ttf" Ubuntu-M.ttf + ln -s "Ubuntu[wdth,wght].ttf" Ubuntu-R.ttf + ln -s "Ubuntu[wdth,wght].ttf" Ubuntu-Th.ttf + + ln -s "Ubuntu-Italic[wdth,wght].ttf" Ubuntu-BI.ttf + ln -s "Ubuntu-Italic[wdth,wght].ttf" Ubuntu-LI.ttf + ln -s "Ubuntu-Italic[wdth,wght].ttf" Ubuntu-MI.ttf + ln -s "Ubuntu-Italic[wdth,wght].ttf" Ubuntu-RI.ttf + + ln -s "UbuntuMono[wght].ttf" UbuntuMono-B.ttf + ln -s "UbuntuMono[wght].ttf" UbuntuMono-R.ttf + + ln -s "UbuntuMono-Italic[wght].ttf" UbuntuMono-BI.ttf + ln -s "UbuntuMono-Italic[wght].ttf" UbuntuMono-RI.ttf }
