You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
408 B
19 lines
408 B
#!/bin/sh |
|
|
|
if [ -d .git ]; then |
|
git describe --always --tags --dirty > version # get version from git |
|
else |
|
echo 0.7.2 > version # hard coded versions |
|
fi |
|
|
|
libtoolize |
|
aclocal |
|
autoconf |
|
automake --add-missing |
|
|
|
CONFIGDIR=$XDG_CONFIG_HOME/cava |
|
|
|
if [ -z "$XDG_CONFIG_HOME" ]; then CONFIGDIR=$HOME/.config/cava; fi |
|
|
|
mkdir -p "$CONFIGDIR" |
|
[ -f "$CONFIGDIR"/config ] || cp example_files/config "$CONFIGDIR"/config
|
|
|