summaryrefslogtreecommitdiff
path: root/user/ttf-hack
diff options
context:
space:
mode:
Diffstat (limited to 'user/ttf-hack')
-rw-r--r--user/ttf-hack/APKBUILD4
1 files changed, 1 insertions, 3 deletions
diff --git a/user/ttf-hack/APKBUILD b/user/ttf-hack/APKBUILD
index 433d1c1f4..d5fbf1b07 100644
--- a/user/ttf-hack/APKBUILD
+++ b/user/ttf-hack/APKBUILD
@@ -11,12 +11,10 @@ license="OFL-2.0"
depends=""
makedepends=""
source="https://github.com/source-foundry/Hack/releases/download/v$pkgver/Hack-v$pkgver-ttf.zip"
-builddir="$srcdir"/ttf
package() {
- cd "$builddir"
for variant in Regular Bold BoldItalic Italic; do
- install -m644 -D Hack-$variant.ttf \
+ install -m644 -D "$srcdir"/ttf/Hack-$variant.ttf \
"$pkgdir"/usr/share/fonts/truetype/Hack-$variant.ttf
done
}