summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Sim2020-01-18 21:30:31 +0100
committerSam Sim2020-01-18 21:30:31 +0100
commitfd702f773c72fabae57d1fe839c87070c2f06fff (patch)
tree4c48aa47d20b0cf2fe391777866d86f48042590a
parent72d284e1c902d8d1d4850165dfb50c409f2aaddc (diff)
downloadaur-fd702f773c72fabae57d1fe839c87070c2f06fff.tar.gz
still fixing
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5c01129b36e..3ec51c011cb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ package() {
cd "$srcdir"
install -Dm644 OFL.txt "$pkgdir/usr/share/licenses/$pkgname/OFL.TXT"
- cd "$srcdir/$_pkgname-master/fonts/otf"
+ cd "$_pkgname-master/fonts/otf"
install -d "$pkgdir/usr/share/fonts/$_pkgname-otf"
install -m644 otf/*.otf "$pkgdir/usr/share/fonts/$_pkgname-otf/"
}
@@ -24,8 +24,8 @@ package() {
post_install() {
echo -n "Updating font cache... "
fc-cache -s
- mkfontscale /usr/share/fonts/$_pkgname-otf
- mkfontdir /usr/share/fonts/$_pkgname-otf
+ mkfontscale "/usr/share/fonts/$_pkgname-otf"
+ mkfontdir "/usr/share/fonts/$_pkgname-otf"
echo "done."
}