Skip to content
This repository was archived by the owner on Mar 17, 2018. It is now read-only.

Commit 7d0a439

Browse files
committed
fixed deb build
1 parent 108cdce commit 7d0a439

8 files changed

+45
-45
lines changed

Makefile

+16-18
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,32 @@
1-
prefix = /usr/local
1+
PREFIX = /usr/
22

33
all: build
44

55
build:
6-
wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
7-
mono nuget.exe install ./src/ParkitectNexus.Client.Linux/packages.config -outputdirectory ./packages
8-
mono nuget.exe install ./src/ParkitectNexus.Client.Base/packages.config -outputdirectory ./packages
9-
mono nuget.exe install ./src/ParkitectNexus.Data/packages.config -outputdirectory ./packages
10-
mono nuget.exe install ./src/ParkitectNexus.Mod.ModLoader/packages.config -outputdirectory ./packages
11-
xbuild /p:Configuration=Release ./src/ParkitectNexus.Client.Base/ParkitectNexus.Client.Base.csproj /target:build
12-
xbuild /p:Configuration=Release ./src/ParkitectNexus.Data/ParkitectNexus.Data.csproj /target:build
13-
xbuild /p:Configuration=Release ./src/ParkitectNexus.Mod.ModLoader/ParkitectNexus.Mod.ModLoader.csproj /target:build
14-
xbuild /p:Configuration=Release ./src/ParkitectNexus.Client.Linux/ParkitectNexus.Client.Linux.csproj /target:build
15-
rm -rf ./nuget.exe
6+
xbuild /p:Configuration=Release src/ParkitectNexus.Client.Base/ParkitectNexus.Client.Base.csproj /target:build
7+
xbuild /p:Configuration=Release src/ParkitectNexus.Data/ParkitectNexus.Data.csproj /target:build
8+
xbuild /p:Configuration=Release src/ParkitectNexus.Mod.ModLoader/ParkitectNexus.Mod.ModLoader.csproj /target:build
9+
xbuild /p:Configuration=Release src/ParkitectNexus.Client.Linux/ParkitectNexus.Client.Linux.csproj /target:build
10+
1611

1712
install: build
18-
install -d $(DESTDIR)/opt/ParkitectNexus/ $(DESTDIR)/share/applications/
13+
install -d $(DESTDIR)/opt/ParkitectNexus/ $(DESTDIR)$(PREFIX)/share/applications/
1914
install -m 775 src/ParkitectNexus.Client.Linux/bin/Release/*.dll $(DESTDIR)/opt/ParkitectNexus
2015
install -m 664 src/ParkitectNexus.Client.Linux/bin/Release/*.dll.mdb $(DESTDIR)/opt/ParkitectNexus
16+
install -m 664 src/ParkitectNexus.Client.Linux/bin/Release/*.config $(DESTDIR)/opt/ParkitectNexus
2117
install -m 775 src/ParkitectNexus.Client.Linux/bin/Release/*.exe $(DESTDIR)/opt/ParkitectNexus
2218
install -m 664 src/ParkitectNexus.Client.Linux/bin/Release/*.exe.mdb $(DESTDIR)/opt/ParkitectNexus
23-
install -m 644 -o root ./parkitectnexus.desktop $(DESTDIR)/share/applications/parkitectnexus.desktop
19+
install -m 644 -o root ./parkitectnexus.desktop $(DESTDIR)$(PREFIX)/share/applications/parkitectnexus.desktop
2420
install ./images/parkitectnexus_logo/parkitectnexus_logo-128x128.png $(DESTDIR)/opt/ParkitectNexus/parkitectnexus_logo.png
2521

2622
clean:
27-
git clean -x -d -f
28-
29-
uninstall:
30-
-rm -f $(DESTDIR)/opt/ParkitectNexus
23+
xbuild /p:Configuration=Release src/ParkitectNexus.Client.Base/ParkitectNexus.Client.Base.csproj /target:clean
24+
xbuild /p:Configuration=Release src/ParkitectNexus.Data/ParkitectNexus.Data.csproj /target:clean
25+
xbuild /p:Configuration=Release src/ParkitectNexus.Mod.ModLoader/ParkitectNexus.Mod.ModLoader.csproj /target:clean
26+
xbuild /p:Configuration=Release src/ParkitectNexus.Client.Linux/ParkitectNexus.Client.Linux.csproj /target:clean
27+
rm -rf ./nuget.exe
28+
distclean: clean
3129

32-
.PHONY: all install clean distclean uninstall
30+
.PHONY: all install clean distclean
3331

3432

debian/changelog

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
parkitect-nexus-client (3.0.0) trusty; urgency=low
2-
3-
* Initial release.
4-
5-
-- michael-pollind <[email protected]> Thu, 15 Dec 2016 13:11:14 -0800
1+
parkitect-nexus-client (3.0.1) xenial; urgency=low
2+
3+
* Initial release.
4+
5+
-- michael-pollind <[email protected]> Thu, 15 Dec 2016 13:11:14 -0800

debian/control

+20-15
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
1-
Source: parkitect-nexus-client
2-
Maintainer: michael-pollind <[email protected]>
3-
Build-Depends: mono-complete (>= 2.10.8), debhelper (>=9)
4-
Standards-Version: 2.1.5980.38291
5-
Homepage: https://parkitectnexus.com/
6-
7-
Package: parkitect-nexus-client
8-
Architecture: any
9-
Section: games
10-
Priority: optional
11-
Depends: mono-complete (>= 2.10.8)
12-
Description: An automatic blueprint and savegames installer for ParkitectNexus.
13-
The Parkitect Nexus client is an application used to download and install
14-
mods from ParkitectNexus. The client will download, and compile mods for
15-
the Parkitect.
1+
Source: parkitect-nexus-client
2+
Maintainer: michael-pollind <[email protected]>
3+
Section: games
4+
Build-Depends:
5+
mono-complete (>= 2.10.8),
6+
debhelper (>=9),
7+
mono-reference-assemblies-2.0(>= 2.10.8),
8+
mono-reference-assemblies-3.5(>= 2.10.8),
9+
mono-reference-assemblies-4.0(>= 2.10.8)
10+
Standards-Version: 2.1.5980.38291
11+
Homepage: https://parkitectnexus.com/
12+
13+
Package: parkitect-nexus-client
14+
Architecture: any
15+
Priority: optional
16+
Depends: mono-complete (>= 2.10.8)
17+
Description: An automatic blueprint and savegames installer for ParkitectNexus.
18+
The Parkitect Nexus client is an application used to download and install
19+
mods from ParkitectNexus. The client will download, and compile mods for
20+
the Parkitect.

debian/debhelper-build-stamp

-1
This file was deleted.

debian/files

-1
This file was deleted.

debian/parkitect-nexus-client.substvars

-2
This file was deleted.

parkitectnexus.desktop

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[Desktop Entry]
22
Name=parkitectnexus
3-
Exec=/opt/ParkitectNexus/parkitectnexus %u
3+
Exec=mono /opt/ParkitectNexus/ParkitectNexus.Client.exe %u
44
Comment=A mod installer for Parkitect
55
GenericName=Parkitect Nexus
66
Icon=/opt/ParkitectNexus/parkitectnexus_logo.png
77
Categories=Utility;
88
StartupNotify=true
99
Terminal=false
1010
Type=Application
11-
MimeType=x-scheme-handler/parkitectnexus;
11+
MimeType=x-scheme-handler/parkitectnexus;

src/ParkitectNexus.Data/ParkitectNexus.Data.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
<Prefer32Bit>false</Prefer32Bit>
2525
</PropertyGroup>
2626
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27-
<DebugType></DebugType>
27+
<DebugType>
28+
</DebugType>
2829
<Optimize>false</Optimize>
2930
<OutputPath>..\..\bin\Release\</OutputPath>
3031
<DefineConstants>TRACE</DefineConstants>

0 commit comments

Comments
 (0)