#!/usr/bin/env bash USER="c0n" PROJECT="relightable" LICENSE="mit" SECTION="admin" HOMEPAGE="https://relightable.c0n.de" BUILD_HOME="/var/tmp/relightable_build" #VERSION="2.1.0" PACKAGE="relightable" #VERSION=$(curl "https://api.github.com/repos/${USER}/${PROJECT}/tags?per_page=5" | jq -r '.[0] | .name') #RELEASE=$(curl "https://api.github.com/repos/${USER}/${PROJECT}/tags?per_page=5" | jq '[ .[] | select(.name|test("v[[:digit:].]+$"))]|.[0] | .name') #VERSION=${VERSION:1} # strip the preceding 'v' VERSION="1.0.0" DEBEMAIL="person@company.tld" DEBFULLNAME="Testy McTester" DESCRIPTION="Recolourable enlightenment desktop default theme." LONG_DESCRIPTION=" The standard theme comes in blue, this theme allows any colour to be substituted." REQUIRES="imagemagick" BUILD_DIR="/var/tmp/relightable_build" WORKDIR="/var/tmp/relightable_build" RSS_FEED="https://github.com/${USER}/${PROJECT}/releases.atom" # xdg-open ${RSS_FEED} echo ${RSS_FEED} ## Checkinstall variables - see defaults in /etc/checkinstallrc DOC_DIR=/usr/share/doc # make a new temporary directory for this use to avoid permission issues. BASE_TMP_DIR=~/tmptmp/checkinstall_tmp #------------------------------------------------------------------------------- mkdir -p ${BUILD_DIR} ## Create and populate the install scripts and documentation for checkinstall cat >${BUILD_DIR}/description-pak <${BUILD_DIR}/preinstall-pak <${BUILD_DIR}/postinstall-pak <${BUILD_DIR}/preremove-pak <${BUILD_DIR}/postremove-pak <${BUILD_DIR}/doc-pak/README <<'EOF' *** rElightable *** - recolorable E17 default theme based on the E17 default theme: http://svn.enlightenment.org/svn/e/trunk/e/data/themes patched by Stefan Baur How to build: a simple make should do the trick. Note: you need to have all the necessary EFL libraries and edje_cc installed. How to change colors: Open Enlightenment Settings -> Colors, select "Focus" Color, change to your liking and accept. Note: make sure you set correct (non transparent) alpha. EOF cat >${BUILD_DIR}/checkinstall_it.sh <${BUILD_DIR}/install.sh <