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.
20 lines
541 B
20 lines
541 B
import 'vcs/git'
|
|
import 'compile/cmake'
|
|
|
|
name=jstest-gtk
|
|
|
|
vcs_git "https://github.com/Grumbel/$name/"
|
|
_
|
|
|
|
cd "$name"
|
|
|
|
# Fix paths
|
|
sed -i -e "/^std::string find_datadir/!b;n;a\return \"$(safe_sed "/$dir_prefix/$dir_data/$name/")\";" src/main.cpp
|
|
|
|
compile_cmake -b build -I
|
|
|
|
install -Dm755 -t "$dir_install/$dir_prefix/$dir_bin" "build/$name"
|
|
install -Dm644 -t "$dir_install/$dir_prefix/$dir_man/man1" "data/$name.1"
|
|
install -Dm644 -t "$dir_install/$dir_prefix/$dir_data/$name" data/*.png
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
|
|
|