summaryrefslogtreecommitdiff
path: root/user/otf-office-code-pro/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-19 12:45:26 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-19 12:45:26 -0500
commit81b0b8b3dc64ccd913bc54d68c6398c2f9dba154 (patch)
treed24db84c66b468870c0c7884cab236b675ca6663 /user/otf-office-code-pro/APKBUILD
parentdeab6eb23676f370581a6e2c40dfec388f9dfc67 (diff)
downloadpackages-81b0b8b3dc64ccd913bc54d68c6398c2f9dba154.tar.gz
packages-81b0b8b3dc64ccd913bc54d68c6398c2f9dba154.tar.bz2
packages-81b0b8b3dc64ccd913bc54d68c6398c2f9dba154.tar.xz
packages-81b0b8b3dc64ccd913bc54d68c6398c2f9dba154.zip
user/{t,o}tf-*: ensure fonts are installed in /usr/share/fonts/X11/...
Diffstat (limited to 'user/otf-office-code-pro/APKBUILD')
-rw-r--r--user/otf-office-code-pro/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/user/otf-office-code-pro/APKBUILD b/user/otf-office-code-pro/APKBUILD
index 6628a1d77..0f34cac2a 100644
--- a/user/otf-office-code-pro/APKBUILD
+++ b/user/otf-office-code-pro/APKBUILD
@@ -14,15 +14,15 @@ source="https://github.com/nathco/Office-Code-Pro/archive/1.004.zip"
builddir="$srcdir/Office-Code-Pro-$pkgver"
package() {
- mkdir -p "$pkgdir"/usr/share/X11/OTF/${pkgname#*-}
+ mkdir -p "$pkgdir"/usr/share/fonts/X11/OTF/${pkgname#*-}
cd "$builddir/Fonts/Office Code Pro/OTF"
for i in *.otf; do
- install -Dm644 "$i" "$pkgdir"/usr/share/X11/OTF/${pkgname#*-}
+ install -Dm644 "$i" "$pkgdir"/usr/share/fonts/X11/OTF/${pkgname#*-}
done
- mkdir -p "$pkgdir"/usr/share/X11/OTF/${pkgname#*-}-d
+ mkdir -p "$pkgdir"/usr/share/fonts/X11/OTF/${pkgname#*-}-d
cd "$builddir/Fonts/Office Code Pro D/OTF"
for i in *.otf; do
- install -Dm644 "$i" "$pkgdir"/usr/share/X11/OTF/${pkgname#*-}-d
+ install -Dm644 "$i" "$pkgdir"/usr/share/fonts/X11/OTF/${pkgname#*-}-d
done
}