mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/ttf-liberation: modernise
This commit is contained in:
parent
caf0a3073b
commit
aab2a469c0
@ -5,7 +5,7 @@ pkgver=2.00.1
|
||||
# we use narrowver to grab older release which does include narrow fonts
|
||||
_narrowver=1.07.4
|
||||
pkgrel=1
|
||||
pkgdesc="Red Hats Liberation fonts"
|
||||
pkgdesc="Red Hat's Liberation fonts"
|
||||
url="https://pagure.io/liberation-fonts/"
|
||||
license="custom GPL-2.0"
|
||||
arch="noarch"
|
||||
@ -33,13 +33,13 @@ package() {
|
||||
"$pkgdir"/etc/fonts/conf.avail \
|
||||
"$pkgdir"/etc/fonts/conf.d
|
||||
install -m644 "$srcdir"/liberation-fonts-ttf-$_narrowver/*.ttf \
|
||||
"$pkgdir"/usr/share/fonts/$pkgname || return 1
|
||||
"$pkgdir"/usr/share/fonts/$pkgname
|
||||
install -m644 "$srcdir"/liberation-fonts-ttf-$pkgver/*.ttf \
|
||||
"$pkgdir"/usr/share/fonts/$pkgname || return 1
|
||||
"$pkgdir"/usr/share/fonts/$pkgname
|
||||
|
||||
for j in "$srcdir"/*.conf; do
|
||||
install -m644 "$j" \
|
||||
"$pkgdir"/etc/fonts/conf.avail/ || return 1
|
||||
"$pkgdir"/etc/fonts/conf.avail/
|
||||
cd "$pkgdir"/etc/fonts/conf.d
|
||||
ln -sf /etc/fonts/conf.avail/${j##*/}
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user