Date: Saturday, March 25, 2023 @ 10:44:10
Author: mtorromeo
Revision: 1427889
archrelease: copy trunk to community-any
Added:
ttf-ubuntu-font-family/repos/community-any/PKGBUILD
(from rev 1427888, ttf-ubuntu-font-family/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: ttf-ubuntu-font-family/repos/community-any/PKGBUILD (from rev 1427888,
ttf-ubuntu-font-family/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-25 10:44:10 UTC (rev 1427889)
@@ -0,0 +1,37 @@
+# Maintainer: Massimiliano Torromeo <[email protected]>
+
+pkgname=ttf-ubuntu-font-family
+pkgver=0.863
+pkgrel=1
+pkgdesc="Ubuntu font family"
+arch=('any')
+url="https://design.ubuntu.com/font/"
+license=('custom:Ubuntu Font Licence 1.0')
+source=(https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/fonts-ubuntu/$pkgver-0ubuntu1/fonts-ubuntu_$pkgver.orig.tar.gz)
+sha256sums=('dbea8a5a0849673098a5ce33c49d9a7edcaf7787f58d110fad71b3eb75dc21f6')
+
+package() {
+ cd fonts-ubuntu-$pkgver
+ install -Dm644 -t "$pkgdir"/usr/share/fonts/TTF *.ttf
+ install -Dm644 LICENCE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
+
+ 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
+}