Package Details: de4dot-git 1736.74408ae-1

Git Clone URL: https://aur.archlinux.org/de4dot-git.git (read-only, click to copy)
Package Base: de4dot-git
Description: .NET deobfuscator and unpacker.
Upstream URL: https://github.com/0xd4d/de4dot
Keywords: .net deobfuscate unpack unprotect
Licenses: GPL-3.0
Submitter: saneki
Maintainer: saneki
Last Packager: saneki
Votes: 1
Popularity: 0.000000
First Submitted: 2015-08-23 02:53 (UTC)
Last Updated: 2015-08-23 02:55 (UTC)

Dependencies (3)

Required by (0)

Sources (3)

Latest Comments

b2ag commented on 2023-02-17 20:16 (UTC)

Hi, I had to modify some lines to make things work. I'm far from being an expert on M$ stuff (who is though?) and didn't really know what I was doing. Works for me though. Have fun

diff --git a/PKGBUILD b/PKGBUILD
index 6e92e97..555f4d2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,15 @@
 # Maintainer: saneki <s@neki.me>
 pkgname=de4dot-git
 _pkgname=de4dot
-pkgver=1736.74408ae
+pkgver=2090.b7d5728f
 pkgrel=1
 pkgdesc=".NET deobfuscator and unpacker."
 arch=("any")
 url="https://github.com/0xd4d/de4dot"
 license=("GPL-3.0")
-makedepends=(git mono)
+makedepends=(git mono mono-msbuild)
 depends=(mono)
-source=("git://github.com/0xd4d/${_pkgname}.git" "de4dot.sh" "de4dot-x64.sh")
+source=("git+https://github.com/0xd4d/${_pkgname}" "de4dot.sh" "de4dot-x64.sh")
 sha256sums=("SKIP" "835243121454a7a525cb0a1a90c6fef84003cf0a52cb73445440b2766b7c2114" "2ce5e81ecf633c3fd4b310b19cfa8250001110fbb23cfc1d6062822abb25b5d7")

 pkgver() {
@@ -19,13 +19,13 @@ pkgver() {

 build() {
   cd "${_pkgname}"
-  git submodule update --init --recursive
-  xbuild /p:PostBuildEvent=
+  msbuild -v:m -restore -t:Build -p:Configuration=Release -p:TargetFramework=net45 de4dot.netframework.sln
+  find Release/net45 -iname '*.pdb' -or -iname '*.xml' -or -iname 'Test.Rename.*' -delete
 }

 package() {
   mkdir -p "${pkgdir}/usr/share/${_pkgname}"
-  cp -R ${_pkgname}/Debug/* "${pkgdir}/usr/share/${_pkgname}"
+  cp -R ${_pkgname}/Release/net45/* "${pkgdir}/usr/share/${_pkgname}"
   install -Dm0755 "${srcdir}/de4dot.sh" "${pkgdir}/usr/share/${_pkgname}/de4dot.sh"
   install -Dm0755 "${srcdir}/de4dot-x64.sh" "${pkgdir}/usr/share/${_pkgname}/de4dot-x64.sh"
   # For now, symlink both x32 and x64 scripts