helm/base/arch-desktop/scripts/install-aseprite.sh

16 lines
423 B
Bash
Raw Normal View History

#!/usr/bin/env bash
if command -v aseprite >/dev/null; then
echo "Aseprite is already installed"
exit 1
fi
set -e
pacaur --needed --noconfirm --noedit -S ninja cmake libxcursor
rm -rf /tmp/aseprite
if git clone --recursive https://github.com/aseprite/aseprite /tmp/aseprite; then
mkdir /tmp/aseprite/build && cd /tmp/aseprite/build
cmake -DCMAKE_INSTALL_PREFIX=/usr -G Ninja ..
ninja aseprite
ninja install
fi