Browse Source

Keep config files after compilation

master
Fincer 8 years ago
parent
commit
8d76afbb22
4 changed files with 7 additions and 13 deletions
  1. +7
    -6
      data/linux/arch_linux/PKGBUILD
  2. +0
    -3
      data/linux/openra-installscript.sh
  3. +0
    -1
      data/linux/opensuse/openra.spec
  4. +0
    -3
      data/windows/install.ps1

+ 7
- 6
data/linux/arch_linux/PKGBUILD View File

@ -1,7 +1,7 @@
# Maintainer: Fincer <fincer89 at hotmail dot com> # Maintainer: Fincer <fincer89 at hotmail dot com>
pkgname=openra-bleed-tibsunra2 pkgname=openra-bleed-tibsunra2
pkgver=r22238.0479b7f
pkgver=r22244.c12cfbc
pkgrel=1 pkgrel=1
pkgdesc="An open-source implementation of the Red Alert engine using .NET/mono and OpenGL (git version)" pkgdesc="An open-source implementation of the Red Alert engine using .NET/mono and OpenGL (git version)"
arch=("any") arch=("any")
@ -17,9 +17,12 @@ source=("$pkgname-src::git+https://github.com/OpenRA/OpenRA.git#branch=bleed"
"git://github.com/OpenRA/ra2.git" "git://github.com/OpenRA/ra2.git"
sha1sums=('SKIP' sha1sums=('SKIP'
'SKIP' 'SKIP'
'2e67a7f84d78d7b9ce8981ebb578c7b744406406'
'412fb02c061918c1a997359713427fa357340a91'
'5d73aedf0b3f6736981c727646c122d3c75ea27b')
'SKIP'
'5d73aedf0b3f6736981c727646c122d3c75ea27b'
'af97ff3908959e60f44949ee874d9035999c9fc3'
'7e87cb67e8ade6397129e45203e67504d572abf6'
'07930220fbd876492085d82ec33001316b6862f9'
'9846854381f099e734d41dafe8eaa9457e27250b')
pkgver() { pkgver() {
cd "$srcdir/$pkgname-src" cd "$srcdir/$pkgname-src"
@ -63,6 +66,4 @@ package() {
rm $pkgdir/usr/lib/openra/mods/ra2/{build.cake,OpenRA.Mods.RA2.dll.mdb,make.cmd,make.ps1,makefile} rm $pkgdir/usr/lib/openra/mods/ra2/{build.cake,OpenRA.Mods.RA2.dll.mdb,make.cmd,make.ps1,makefile}
rm $pkgdir/usr/lib/openra/mods/ts/OpenRA.Mods.TS.dll.mdb rm $pkgdir/usr/lib/openra/mods/ts/OpenRA.Mods.TS.dll.mdb
rm $pkgdir/usr/lib/openra/{SharpFont.dll.config,SDL2-CS.dll.config,OpenAL-CS.dll.config,Eluant.dll.config}
} }

+ 0
- 3
data/linux/openra-installscript.sh View File

@ -431,9 +431,6 @@ RA2_PKGVERSION=$(git ls-remote https://github.com/OpenRA/ra2.git | head -1 | sed
rm $HOME/openra-master/$PACKAGE/mods/d2/OpenRA.Mods.D2.dll.mdb rm $HOME/openra-master/$PACKAGE/mods/d2/OpenRA.Mods.D2.dll.mdb
fi fi
# rm $HOME/openra-master/$PACKAGE/{SharpFont.dll.config,SDL2-CS.dll.config,OpenAL-CS.dll.config,Eluant.dll.config}
##Can't remove .config files at this moment due to deb packaging mechanism!
echo -e "$bold_in\n5/7 ***Preparing OpenRA deb package. This takes a while. Please wait.***\n$out" echo -e "$bold_in\n5/7 ***Preparing OpenRA deb package. This takes a while. Please wait.***\n$out"
dh_make --createorig -s -y && \ dh_make --createorig -s -y && \
echo -e "\noverride_dh_auto_install:\n\tmake install-all install-linux-shortcuts prefix='$HOME/openra-master/$PACKAGE/debian/$PACKAGE_NAME/usr'\n\tsed -i '2s%.*%cd /usr/lib/openra%' '$HOME/openra-master/$PACKAGE/debian/$PACKAGE_NAME/usr/bin/openra'\noverride_dh_usrlocal:\noverride_dh_auto_test:" >> $HOME/openra-master/$PACKAGE/debian/rules && \ echo -e "\noverride_dh_auto_install:\n\tmake install-all install-linux-shortcuts prefix='$HOME/openra-master/$PACKAGE/debian/$PACKAGE_NAME/usr'\n\tsed -i '2s%.*%cd /usr/lib/openra%' '$HOME/openra-master/$PACKAGE/debian/$PACKAGE_NAME/usr/bin/openra'\noverride_dh_usrlocal:\noverride_dh_auto_test:" >> $HOME/openra-master/$PACKAGE/debian/rules && \


+ 0
- 1
data/linux/opensuse/openra.spec View File

@ -83,7 +83,6 @@ make DESTDIR="%{buildroot}" prefix=%{_prefix} install-linux-mime
make DESTDIR="%{buildroot}" prefix=%{_prefix} install-linux-appdata make DESTDIR="%{buildroot}" prefix=%{_prefix} install-linux-appdata
make DESTDIR="%{buildroot}" prefix=%{_prefix} install-man-page make DESTDIR="%{buildroot}" prefix=%{_prefix} install-man-page
rm -rf %{buildroot}/usr/lib/openra/{SharpFont.dll.config,SDL2-CS.dll.config,OpenAL-CS.dll.config,Eluant.dll.config}
rm -rf %{buildroot}/usr/lib/openra/mods/cnc/OpenRA.Mods.Cnc.dll.mdb rm -rf %{buildroot}/usr/lib/openra/mods/cnc/OpenRA.Mods.Cnc.dll.mdb
rm -rf %{buildroot}/usr/lib/openra/mods/common/OpenRA.Mods.Common.dll.mdb rm -rf %{buildroot}/usr/lib/openra/mods/common/OpenRA.Mods.Common.dll.mdb
rm -rf %{buildroot}/usr/lib/openra/mods/d2k/OpenRA.Mods.D2k.dll.mdb rm -rf %{buildroot}/usr/lib/openra/mods/d2k/OpenRA.Mods.D2k.dll.mdb


+ 0
- 3
data/windows/install.ps1 View File

@ -398,12 +398,9 @@ If (Test-Path ".\data\hotfixes\windows\*.patch"){
Remove-Item .\data\windows\OpenRA-bleed\launch-dedicated.sh Remove-Item .\data\windows\OpenRA-bleed\launch-dedicated.sh
Remove-Item .\data\windows\OpenRA-bleed\appveyor.yml Remove-Item .\data\windows\OpenRA-bleed\appveyor.yml
Remove-Item .\data\windows\OpenRA-bleed\dupFinder.xslt Remove-Item .\data\windows\OpenRA-bleed\dupFinder.xslt
Remove-Item .\data\windows\OpenRA-bleed\OpenRA.Game.exe.config
Remove-Item .\data\windows\OpenRA-bleed\OpenRA.Game.pdb Remove-Item .\data\windows\OpenRA-bleed\OpenRA.Game.pdb
Remove-Item .\data\windows\OpenRA-bleed\OpenRA.Server.pdb Remove-Item .\data\windows\OpenRA-bleed\OpenRA.Server.pdb
Remove-Item .\data\windows\OpenRA-bleed\OpenRA.Platforms.Default.pdb Remove-Item .\data\windows\OpenRA-bleed\OpenRA.Platforms.Default.pdb
Remove-Item .\data\windows\OpenRA-bleed\OpenRA.Test.dll.config
Remove-Item .\data\windows\OpenRA-bleed\OpenRA.Utility.exe.config
Remove-Item .\data\windows\OpenRA-bleed\OpenRA.Test.nunit Remove-Item .\data\windows\OpenRA-bleed\OpenRA.Test.nunit
Remove-Item .\data\windows\OpenRA-bleed\OpenRA.Test.pdb Remove-Item .\data\windows\OpenRA-bleed\OpenRA.Test.pdb
Remove-Item .\data\windows\OpenRA-bleed\OpenRA.pdb Remove-Item .\data\windows\OpenRA-bleed\OpenRA.pdb


Loading…
Cancel
Save