Browse Source

Update jstest-gtk

Is flatpak finally making people realize how to write proper (C)MakeFiles? Science still can't tell...
master
mid-kid 6 years ago
parent
commit
aae4dea0e3
  1. 12
      satellites/jstest-gtk-git.sat

12
satellites/jstest-gtk-git.sat

@ -3,18 +3,10 @@ import 'compile/cmake'
name=jstest-gtk name=jstest-gtk
vcs_git "https://github.com/Grumbel/$name/" vcs_git "https://gitlab.com/$name/$name"
_ _
cd "$name" cd "$name"
compile_cmake
# 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: # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:

Loading…
Cancel
Save