Files
BMLFS/build-scripts/xcursor-themes.build
2024-06-02 13:13:40 -05:00

43 lines
1.5 KiB
Bash

#! /bin/bash
# xcursor-themes
# Source: ftp://ftp.x.org/pub/individual/data/xcursor-themes-1.0.7.tar.xz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: xcb-util xcursorgen
# Recommended: NONE
# Optional: Doxygen
./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------------------------------------------------------|
xcursor-themes: xcursor-themes (X11 cursor themes)
xcursor-themes:
xcursor-themes: This is a default set of cursor themes for use with libXcursor,
xcursor-themes: originally created for the XFree86 Project, and now shipped as part
xcursor-themes: of the X.Org software distribution.
xcursor-themes:
xcursor-themes:
xcursor-themes:
xcursor-themes:
xcursor-themes:
xcursor-themes:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/xcursor-themes-1.0.7-$NOPSUFFIX &&
sudo -S rm -rf ${BUILD}/*