aboutsummaryrefslogtreecommitdiffstats
path: root/main/ttf-liberation
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-10 14:49:07 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-16 16:46:31 +0000
commitaab2a469c0c4de23cc0bba483e8e0520c4dd4f0d (patch)
tree54019c511e0b985f90479fe7f1051e61a5a04236 /main/ttf-liberation
parentcaf0a3073b856cf430cd158d190449d7fd104b8c (diff)
downloadaports-aab2a469c0c4de23cc0bba483e8e0520c4dd4f0d.tar.bz2
aports-aab2a469c0c4de23cc0bba483e8e0520c4dd4f0d.tar.xz
main/ttf-liberation: modernise
Diffstat (limited to 'main/ttf-liberation')
-rw-r--r--main/ttf-liberation/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/ttf-liberation/APKBUILD b/main/ttf-liberation/APKBUILD
index c245ec5607..0d83a25f52 100644
--- a/main/ttf-liberation/APKBUILD
+++ b/main/ttf-liberation/APKBUILD
@@ -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