makedeb


rehex 0.4.1-1


A cross-platform (Windows, Linux, Mac) hex editor for reverse engineering, and everything else

Click here to go back to the commit logs for rehex.

Commit:


Hash: d98cbe49518cacefdca848d7b8ffb4953891234e

Message: add checksums and desktop patch

Diff


diff --git a/.SRCINFO b/.SRCINFO
index fca0c2f..21b629f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ generated-by = makedeb-makepkg
 pkgbase = rehex
 	pkgdesc = A cross-platform (Windows, Linux, Mac) hex editor for reverse engineering, and everything else (git version)
 	pkgver = 0.3.92
-	pkgrel = 1
+	pkgrel = 2
 	url = https://github.com/solemnwarning/rehex
 	arch = x86_64
 	license = GPL2
@@ -20,6 +20,8 @@ pkgbase = rehex
 	depends = libwxgtk3.0-gtk3-0v5
 	conflicts = rehex-git
 	source = rehex-0.3.92::https://github.com/solemnwarning/rehex/archive/refs/tags/0.3.92.tar.gz
-	sha256sums = SKIP
+	source = rehex.patch
+	sha256sums = 08dbea973754e21e580f54f51d65f74ebbd10b300cdbaf8ad19e3540a4e51596
+	sha256sums = 925aa979895253ba482780da91cb72fb11260dc44ce0a0f9650164f4831a5d83
 
 pkgname = rehex
diff --git a/PKGBUILD b/PKGBUILD
index e87ff1a..df09f91 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 
 pkgname=rehex
 pkgver=0.3.92
-pkgrel=1
+pkgrel=2
 pkgdesc="A cross-platform (Windows, Linux, Mac) hex editor for reverse engineering, and everything else (git version)"
 arch=('x86_64')
 url="https://github.com/solemnwarning/rehex"
@@ -10,8 +10,10 @@ license=('GPL2')
 depends=('libjansson4' 'lua5.3' 'libcapstone3' 'liblua5.3-0' 'libwxgtk3.0-gtk3-0v5')
 makedepends=('libjansson-dev' 'libcapstone-dev' 'libwxgtk3.0-gtk3-dev' 'liblua5.3-dev' 'lua5.3' 'git')
 conflicts=('rehex-git')
-source=("$pkgname-$pkgver::$url/archive/refs/tags/$pkgver.tar.gz")
-sha256sums=('SKIP')
+source=("$pkgname-$pkgver::$url/archive/refs/tags/$pkgver.tar.gz"
+        "rehex.patch")
+sha256sums=('08dbea973754e21e580f54f51d65f74ebbd10b300cdbaf8ad19e3540a4e51596'
+            '925aa979895253ba482780da91cb72fb11260dc44ce0a0f9650164f4831a5d83')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
@@ -21,4 +23,6 @@ build() {
 package() {
   cd $srcdir/$pkgname-$pkgver
   make DESTDIR="$pkgdir" prefix="/usr" install
+  
+  patch -d "$pkgdir" -p1 < $srcdir/"$pkgname".patch
 }
diff --git a/rehex.patch b/rehex.patch
new file mode 100644
index 0000000..03080bb
--- /dev/null
+++ b/rehex.patch
@@ -0,0 +1,13 @@
+--- a/usr/share/applications/rehex.desktop
++++ b/usr/share/applications/rehex.desktop
+@@ -1,7 +1,8 @@
+ [Desktop Entry]
+ Type=Application
+ Encoding=UTF-8
+-Name=Reverse Engineers' Hex Editor
++Name=Rehex
++Description=Reverse Engineers' Hex Editor
+ Icon=rehex
+ Exec=rehex %F
+ Terminal=false
+