Skip to content
Snippets Groups Projects
Commit c8fc6c2c authored by Massimiliano Torromeo's avatar Massimiliano Torromeo
Browse files

fontconfig config handling rebuild

parent b8528479
No related branches found
No related tags found
No related merge requests found
......@@ -2,12 +2,11 @@
pkgname=ttf-ubuntu-font-family
pkgver=0.83
pkgrel=6
pkgrel=7
pkgdesc="Ubuntu font family"
arch=('any')
url="https://design.ubuntu.com/font/"
license=('custom:Ubuntu Font Licence 1.0')
backup=(etc/fonts/conf.avail/81-ubuntu.conf)
source=(https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-$pkgver.zip
81-ubuntu.conf)
sha256sums=('456d7d42797febd0d7d4cf1b782a2e03680bb4a5ee43cc9d06bda172bac05b42'
......@@ -15,9 +14,9 @@ sha256sums=('456d7d42797febd0d7d4cf1b782a2e03680bb4a5ee43cc9d06bda172bac05b42'
package() {
cd ubuntu-font-family-$pkgver
install -dm755 "$pkgdir"/etc/fonts/conf.d
install -dm755 "$pkgdir"/usr/share/fontconfig/conf.default
install -Dm644 -t "$pkgdir"/usr/share/fonts/ubuntu *.ttf
install -Dm644 LICENCE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
install -Dm644 "$srcdir"/81-ubuntu.conf "$pkgdir"/etc/fonts/conf.avail/81-ubuntu.conf
ln -s ../conf.avail/81-ubuntu.conf "$pkgdir"/etc/fonts/conf.d/81-ubuntu.conf
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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment