metalx1000

Space Attack 2 - Debian Build scripts

Feb 10th, 2021
1,359
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
RAW Paste Data