ttf-unifont: updated install routine

This commit is contained in:
Tim Biermann 2022-02-14 21:09:11 +01:00
parent 62b2bae925
commit d89e359a4d
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 6 additions and 7 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3+YrOnT19LMO4qSxf66ZEU8yMaQg9WsqQqI0UEUvtOS86l3+WAjzVpRafKnmN8myIVL+SmEHhV85Zm+USEBqBwM=
SHA256 (Pkgfile) = 0e6c08945818b33f77d56ddf02c512b9529955e8cd82dbe83161b688f3414d0d
RWSagIOpLGJF30AmygVcq27ApNcbXDf0PFQ4K5TPkEO2euReiwfUzlXZdsjnCG4J0CbVr+e2g3kavzu4NEFWgo+JjAx16aoWuws=
SHA256 (Pkgfile) = 7a31357448068b74903dc8c200bc77a954f380f47179d9b2777f5d58f95b816e
SHA256 (.footprint) = 8c8aab3ad18a8995a0bd21c43312e95026c080bf93f926be92572e488b725bdf
SHA256 (unifont-14.0.01.tar.gz) = 7ad1daeecc466685cdb3c60bdd57d6f3553131f076c1a18ab2f95e2020b26d72

View File

@ -8,9 +8,8 @@ release=1
source=(https://unifoundry.com/pub/unifont/unifont-$version/unifont-$version.tar.gz)
build() {
cd unifont-$version/font/precompiled
install -d $PKG/usr/share/fonts/TTF/unifont/
for i in *.ttf; do
install -Dm644 $i $PKG/usr/share/fonts/TTF/unifont/;
done
find unifont-$version/font/precompiled \
-iname "*.ttf" \
-execdir install -Dm644 {} $PKG/usr/share/fonts/TTF/unifont/{} \;
cd
}