Files
BMLFS/build-scripts/encodings.build
2023-09-25 17:59:31 -05:00

44 lines
1.4 KiB
Bash

#! /bin/bash
# encodings
# Source: https://www.x.org/pub/individual/font/encodings-1.0.7.tar.xz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: xorgproto mkfontscale
# Recommended: NONE
# Optional: NONE
./configure $XORG_CONFIG $BUILDTRUPLE && \
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
encodings: encodings (X11 font encodings)
encodings:
encodings: encodings is part of X11.
encodings:
encodings: For more information about the X.Org Foundation (the providers of the
encodings: X.Org implementation of the X Window System), see their website:
encodings:
encodings: http://www.x.org
encodings:
encodings:
encodings:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/encodings-1.0.7-$NOPSUFFIX &&
sudo -S rm -rf ${BUILD}/*