astromenace: fix absolute paths in INSTALL/REMOVE scripts

This commit is contained in:
maxice8 2018-08-26 16:16:32 -03:00
parent 53a6b4f8f7
commit b14af9f598
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
3 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@ case "$ACTION" in
post) # Pack the game data
echo "AstroMenace: packaging game data..."
/usr/bin/astromenace --pack --rawdata=/usr/share/astromenace/RAW_VFS_DATA \
> /usr/share/astromenace/gamedata.log
mv /usr/bin/gamedata.vfs /usr/share/astromenace
> usr/share/astromenace/gamedata.log
mv usr/bin/gamedata.vfs usr/share/astromenace
;;
esac

View file

@ -1,5 +1,5 @@
case "$ACTION" in
pre) # Remove packed game data and log
rm -f /usr/share/astromenace/gamedata.*
rm -f usr/share/astromenace/gamedata.*
;;
esac

View file

@ -1,7 +1,7 @@
# Template file for 'astromenace'
pkgname=astromenace
version=1.3.2
revision=2
revision=3
wrksrc=AstroMenace
build_style=cmake
hostmakedepends="pkg-config"