install openra to /usr/lib now that we ship native libraries
This commit is contained in:
committed by
ScottNZ
parent
1d60b86b9b
commit
2062a1bf9b
@@ -20,7 +20,7 @@ cd ../..
|
||||
make install-all prefix="/usr" DESTDIR="$PWD/packaging/linux/$ROOTDIR"
|
||||
|
||||
# Launch scripts (executed by Desura)
|
||||
cp *.sh "$PWD/packaging/linux/$ROOTDIR/usr/share/openra/" || exit 3
|
||||
cp *.sh "$PWD/packaging/linux/$ROOTDIR/usr/lib/openra/" || exit 3
|
||||
|
||||
# Icons and .desktop files
|
||||
make install-shortcuts prefix="/usr" DESTDIR="$PWD/packaging/linux/$ROOTDIR"
|
||||
|
||||
@@ -13,7 +13,7 @@ sed -i "s/{VERSION_FIELD}/$PKGVERSION/" openra.spec
|
||||
rootdir=`readlink -f $2`
|
||||
sed -i "s|{ROOT_DIR}|$rootdir|" openra.spec
|
||||
|
||||
for x in `find $rootdir/usr/share/openra -type d`
|
||||
for x in `find $rootdir/usr/lib/openra -type d`
|
||||
do
|
||||
y="${x#$rootdir}"
|
||||
sed -i "/%files/ a ${y}" openra.spec
|
||||
|
||||
Reference in New Issue
Block a user