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: 902e42e963ca8ed2d0d3e204a07de15663bfb43c

Message: fix depends on bullseye

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 03fec35..283de93 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
 	pkgver = 0.3.92
-	pkgrel = 3
+	pkgrel = 4
 	url = https://github.com/solemnwarning/rehex
 	arch = x86_64
 	license = GPL2
@@ -15,13 +15,19 @@ pkgbase = rehex
 	makedepends = git
 	depends = libjansson4
 	depends = lua5.3
-	depends = libcapstone3
 	depends = liblua5.3-0
 	depends = libwxgtk3.0-gtk3-0v5
+	depends = libcapstone3
+	provides = rehex
 	conflicts = rehex-git
 	source = rehex-0.3.92::https://github.com/solemnwarning/rehex/archive/refs/tags/0.3.92.tar.gz
 	source = rehex.patch
 	sha256sums = 08dbea973754e21e580f54f51d65f74ebbd10b300cdbaf8ad19e3540a4e51596
 	sha256sums = 925aa979895253ba482780da91cb72fb11260dc44ce0a0f9650164f4831a5d83
+	bullseye_depends = libjansson4
+	bullseye_depends = lua5.3
+	bullseye_depends = liblua5.3-0
+	bullseye_depends = libwxgtk3.0-gtk3-0v5
+	bullseye_depends = libcapstone4
 
 pkgname = rehex
diff --git a/PKGBUILD b/PKGBUILD
index e5e7c82..71ccd82 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,16 @@
 
 pkgname=rehex
 pkgver=0.3.92
-pkgrel=3
+pkgrel=4
 pkgdesc="A cross-platform (Windows, Linux, Mac) hex editor for reverse engineering, and everything else"
 arch=('x86_64')
 url="https://github.com/solemnwarning/rehex"
 license=('GPL2')
-depends=('libjansson4' 'lua5.3' 'libcapstone3' 'liblua5.3-0' 'libwxgtk3.0-gtk3-0v5')
+_base_depends=('libjansson4' 'lua5.3' 'liblua5.3-0' 'libwxgtk3.0-gtk3-0v5')
+depends=("${_base_depends[@]}" 'libcapstone3')
+bullseye_depends=("${_base_depends[@]}" 'libcapstone4')
 makedepends=('libjansson-dev' 'libcapstone-dev' 'libwxgtk3.0-gtk3-dev' 'liblua5.3-dev' 'lua5.3' 'git')
+provides=('rehex')
 conflicts=('rehex-git')
 source=("$pkgname-$pkgver::$url/archive/refs/tags/$pkgver.tar.gz"
         "rehex.patch")