Advertisement
metalx1000

Space Attack 2 - Debian Build scripts

Feb 10th, 2021
1,932
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.37 KB | None | 0 0
  1. #!/bin/bash
  2. version="20210210"
  3. project="space-attack-2"
  4.  
  5. [[ $1 == "setup" ]] && sudo apt install build-essential dh-make
  6.  
  7. wget -c "https://gitlab.com/metalx1000/${project}/-/archive/20210210/${project}-${version}.tar.gz"
  8. tar -xzf ${project}-${version}.tar.gz
  9. cd ${project}-${version}
  10.  
  11. dh_make -s -c gpl3 -f ../${project}-${version}.tar.gz
  12. dpkg-buildpackage -us -uc
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement