Attnam / ivan

Iter Vehemens ad Necem - a continuation of the graphical roguelike by members of http://attnam.com
GNU General Public License v2.0
305 stars 42 forks source link

Update INSTALL #575

Closed scipio1516 closed 4 years ago

scipio1516 commented 4 years ago

added a note regarding permissions in the installation process.

AquariusPower commented 4 years ago

the configuration doesnt support --prefix? so it could be /usr/local/bin instead, but much better would just be to run it using checkinstall like:

make && sudo -k checkinstall --pkgsource="https://github.com/Attnam/ivan" --pkglicense="GPLv2" --deldesc=no --nodoc --maintainer="$USER\\<$USER@$HOSTNAME\\>" --pkgarch=$(dpkg --print-architecture) --pkgversion="0.5.4" --pkgrelease="MakeRelease" --pkgname=ivan make install # just fix the pkgversion to the correct one

one per line to read it better (just fix the pkgversion to the correct one)

make && sudo -k checkinstall \
 --pkgsource="https://github.com/Attnam/ivan" \
 --pkglicense="GPLv2" \
 --deldesc=no \
 --nodoc \
 --maintainer="$USER\\<$USER@$HOSTNAME\\>" \
 --pkgarch=$(dpkg --print-architecture) \
 --pkgversion="0.5.4" \
 --pkgrelease="MakeRelease" \
 --pkgname=ivan \
 make install

it will create a .deb package that can be uninstalled/upgraded easily, I dont know if it can create .rpm or other kind of packages tho...