diff --git a/Makefile b/Makefile index ff36fd9..de1d00f 100644 --- a/Makefile +++ b/Makefile @@ -1,34 +1,32 @@ -prefix = /usr/local +PREFIX = /usr/ all: build build: - wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe - mono nuget.exe install ./src/ParkitectNexus.Client.Linux/packages.config -outputdirectory ./packages - mono nuget.exe install ./src/ParkitectNexus.Client.Base/packages.config -outputdirectory ./packages - mono nuget.exe install ./src/ParkitectNexus.Data/packages.config -outputdirectory ./packages - mono nuget.exe install ./src/ParkitectNexus.Mod.ModLoader/packages.config -outputdirectory ./packages - xbuild /p:Configuration=Release ./src/ParkitectNexus.Client.Base/ParkitectNexus.Client.Base.csproj /target:build - xbuild /p:Configuration=Release ./src/ParkitectNexus.Data/ParkitectNexus.Data.csproj /target:build - xbuild /p:Configuration=Release ./src/ParkitectNexus.Mod.ModLoader/ParkitectNexus.Mod.ModLoader.csproj /target:build - xbuild /p:Configuration=Release ./src/ParkitectNexus.Client.Linux/ParkitectNexus.Client.Linux.csproj /target:build - rm -rf ./nuget.exe + xbuild /p:Configuration=Release src/ParkitectNexus.Client.Base/ParkitectNexus.Client.Base.csproj /target:build + xbuild /p:Configuration=Release src/ParkitectNexus.Data/ParkitectNexus.Data.csproj /target:build + xbuild /p:Configuration=Release src/ParkitectNexus.Mod.ModLoader/ParkitectNexus.Mod.ModLoader.csproj /target:build + xbuild /p:Configuration=Release src/ParkitectNexus.Client.Linux/ParkitectNexus.Client.Linux.csproj /target:build + install: build - install -d $(DESTDIR)/opt/ParkitectNexus/ $(DESTDIR)/share/applications/ + install -d $(DESTDIR)/opt/ParkitectNexus/ $(DESTDIR)$(PREFIX)/share/applications/ install -m 775 src/ParkitectNexus.Client.Linux/bin/Release/*.dll $(DESTDIR)/opt/ParkitectNexus install -m 664 src/ParkitectNexus.Client.Linux/bin/Release/*.dll.mdb $(DESTDIR)/opt/ParkitectNexus + install -m 664 src/ParkitectNexus.Client.Linux/bin/Release/*.config $(DESTDIR)/opt/ParkitectNexus install -m 775 src/ParkitectNexus.Client.Linux/bin/Release/*.exe $(DESTDIR)/opt/ParkitectNexus install -m 664 src/ParkitectNexus.Client.Linux/bin/Release/*.exe.mdb $(DESTDIR)/opt/ParkitectNexus - install -m 644 -o root ./parkitectnexus.desktop $(DESTDIR)/share/applications/parkitectnexus.desktop + install -m 644 -o root ./parkitectnexus.desktop $(DESTDIR)$(PREFIX)/share/applications/parkitectnexus.desktop install ./images/parkitectnexus_logo/parkitectnexus_logo-128x128.png $(DESTDIR)/opt/ParkitectNexus/parkitectnexus_logo.png clean: - git clean -x -d -f - -uninstall: - -rm -f $(DESTDIR)/opt/ParkitectNexus + xbuild /p:Configuration=Release src/ParkitectNexus.Client.Base/ParkitectNexus.Client.Base.csproj /target:clean + xbuild /p:Configuration=Release src/ParkitectNexus.Data/ParkitectNexus.Data.csproj /target:clean + xbuild /p:Configuration=Release src/ParkitectNexus.Mod.ModLoader/ParkitectNexus.Mod.ModLoader.csproj /target:clean + xbuild /p:Configuration=Release src/ParkitectNexus.Client.Linux/ParkitectNexus.Client.Linux.csproj /target:clean + rm -rf ./nuget.exe +distclean: clean -.PHONY: all install clean distclean uninstall +.PHONY: all install clean distclean diff --git a/debian/changelog b/debian/changelog index 2f5266b..50661aa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ -parkitect-nexus-client (3.0.0) trusty; urgency=low - - * Initial release. - - -- michael-pollind Thu, 15 Dec 2016 13:11:14 -0800 +parkitect-nexus-client (3.0.1) xenial; urgency=low + + * Initial release. + + -- michael-pollind Thu, 15 Dec 2016 13:11:14 -0800 diff --git a/debian/control b/debian/control index 31ebf4f..7e893ea 100644 --- a/debian/control +++ b/debian/control @@ -1,15 +1,20 @@ -Source: parkitect-nexus-client -Maintainer: michael-pollind -Build-Depends: mono-complete (>= 2.10.8), debhelper (>=9) -Standards-Version: 2.1.5980.38291 -Homepage: https://parkitectnexus.com/ - -Package: parkitect-nexus-client -Architecture: any -Section: games -Priority: optional -Depends: mono-complete (>= 2.10.8) -Description: An automatic blueprint and savegames installer for ParkitectNexus. - The Parkitect Nexus client is an application used to download and install - mods from ParkitectNexus. The client will download, and compile mods for - the Parkitect. \ No newline at end of file +Source: parkitect-nexus-client +Maintainer: michael-pollind +Section: games +Build-Depends: + mono-complete (>= 2.10.8), + debhelper (>=9), + mono-reference-assemblies-2.0(>= 2.10.8), + mono-reference-assemblies-3.5(>= 2.10.8), + mono-reference-assemblies-4.0(>= 2.10.8) +Standards-Version: 2.1.5980.38291 +Homepage: https://parkitectnexus.com/ + +Package: parkitect-nexus-client +Architecture: any +Priority: optional +Depends: mono-complete (>= 2.10.8) +Description: An automatic blueprint and savegames installer for ParkitectNexus. + The Parkitect Nexus client is an application used to download and install + mods from ParkitectNexus. The client will download, and compile mods for + the Parkitect. diff --git a/debian/debhelper-build-stamp b/debian/debhelper-build-stamp deleted file mode 100644 index 61ee2f2..0000000 --- a/debian/debhelper-build-stamp +++ /dev/null @@ -1 +0,0 @@ -parkitect-nexus-client diff --git a/debian/files b/debian/files deleted file mode 100644 index d8e10b1..0000000 --- a/debian/files +++ /dev/null @@ -1 +0,0 @@ -parkitect-nexus-client_3.0.0_amd64.deb games optional diff --git a/debian/parkitect-nexus-client.substvars b/debian/parkitect-nexus-client.substvars deleted file mode 100644 index 978fc8b..0000000 --- a/debian/parkitect-nexus-client.substvars +++ /dev/null @@ -1,2 +0,0 @@ -misc:Depends= -misc:Pre-Depends= diff --git a/parkitectnexus.desktop b/parkitectnexus.desktop index 32f1201..e496344 100644 --- a/parkitectnexus.desktop +++ b/parkitectnexus.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Name=parkitectnexus -Exec=/opt/ParkitectNexus/parkitectnexus %u +Exec=mono /opt/ParkitectNexus/ParkitectNexus.Client.exe %u Comment=A mod installer for Parkitect GenericName=Parkitect Nexus Icon=/opt/ParkitectNexus/parkitectnexus_logo.png @@ -8,4 +8,4 @@ Categories=Utility; StartupNotify=true Terminal=false Type=Application -MimeType=x-scheme-handler/parkitectnexus; \ No newline at end of file +MimeType=x-scheme-handler/parkitectnexus; diff --git a/src/ParkitectNexus.Data/ParkitectNexus.Data.csproj b/src/ParkitectNexus.Data/ParkitectNexus.Data.csproj index 2444a8a..0964b5d 100644 --- a/src/ParkitectNexus.Data/ParkitectNexus.Data.csproj +++ b/src/ParkitectNexus.Data/ParkitectNexus.Data.csproj @@ -24,7 +24,8 @@ false - + + false ..\..\bin\Release\ TRACE