summaryrefslogtreecommitdiff
path: root/repo/font-dejavu/font-dejavu.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-05-17 17:01:27 +0100
committerdavidovski <david@davidovski.xyz>2023-05-17 17:01:27 +0100
commit0d37a1ef234c38b27faba43bc3a22f985d311deb (patch)
treedde8df9f508e7323c3d7df599ceade7705c40acd /repo/font-dejavu/font-dejavu.xibuild
parentf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (diff)
Remove all firmware
Diffstat (limited to 'repo/font-dejavu/font-dejavu.xibuild')
-rw-r--r--repo/font-dejavu/font-dejavu.xibuild21
1 files changed, 11 insertions, 10 deletions
diff --git a/repo/font-dejavu/font-dejavu.xibuild b/repo/font-dejavu/font-dejavu.xibuild
index 53f1ac7..ff250e6 100644
--- a/repo/font-dejavu/font-dejavu.xibuild
+++ b/repo/font-dejavu/font-dejavu.xibuild
@@ -3,7 +3,7 @@
NAME="font-dejavu"
DESC="Font family based on the Bitstream Vera Fonts with a wider range of characters"
-MAKEDEPS="font-util"
+MAKEDEPS=" font-util"
PKG_VER=2.37
SOURCE="https://downloads.sourceforge.net/project/dejavu/dejavu/$PKG_VER/dejavu-fonts-ttf-$PKG_VER.tar.bz2"
@@ -14,21 +14,22 @@ ADDITIONAL="
"
package() {
- mkdir -p "$PKG_DEST"/usr/share/fonts/ttf-dejavu \
- "$PKG_DEST"/etc/fonts/conf.avail \
- "$PKG_DEST"/etc/fonts/conf.d
+ mkdir -p "$PKG_DEST"/etc/fonts/conf.d
- install -m644 "$BUILD_ROOT"/dejavu-fonts-ttf-$PKG_VER/ttf/*.ttf \
- "$BUILD_ROOT"/dejavu-lgc-fonts-ttf-$PKG_VER/ttf/*.ttf \
- "$PKG_DEST"/usr/share/fonts/ttf-dejavu
+ install -Dm644 \
+ dejavu-fonts-ttf-$PKG_VER/ttf/*.ttf \
+ dejavu-lgc-fonts-ttf-$PKG_VER/ttf/*.ttf \
+ -t "$PKG_DEST"/usr/share/fonts/dejavu
- install -m644 "$BUILD_ROOT"/dejavu-fonts-ttf-$PKG_VER/fontconfig/*.conf \
+ install -Dm644 \
+ "$BUILD_ROOT"/dejavu-fonts-ttf-$PKG_VER/fontconfig/*.conf \
"$BUILD_ROOT"/dejavu-lgc-fonts-ttf-$PKG_VER/fontconfig/*.conf \
- "$PKG_DEST"/etc/fonts/conf.avail
+ -t "$PKG_DEST"/etc/fonts/conf.avail/
cd "$PKG_DEST"/etc/fonts/conf.d
+ local j
for j in "$BUILD_ROOT"/*.conf; do
- install -m644 "$j" "$PKG_DEST"/etc/fonts/conf.avail/
+ install -Dm644 "$j" -t "$PKG_DEST"/etc/fonts/conf.avail/
ln -sf /etc/fonts/conf.avail/${j##*/}
done
}