summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKokaKiwi2023-04-04 18:32:42 +0200
committerKokaKiwi2023-04-04 18:32:42 +0200
commit1208a132665bcd0d6da636b25a6c956ef67766f7 (patch)
treeb4c68bdcd6c93a94326a1bf12ab21ee5280cd54a
parentf2757dfe17084b8bf64567830f499604c2a57b30 (diff)
downloadaur-1208a132665bcd0d6da636b25a6c956ef67766f7.tar.gz
upgpkg: imhex 1.28.0-2
- Include ImHex Patterns in package
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD10
2 files changed, 15 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 855124f0b824..97f029e6a773 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = imhex
pkgdesc = A Hex Editor for Reverse Engineers, Programmers and people that value their eye sight when working at 3 AM
pkgver = 1.28.0
- pkgrel = 1
+ pkgrel = 2
url = https://imhex.werwolv.net
arch = x86_64
license = GPL2
@@ -23,6 +23,8 @@ pkgbase = imhex
depends = fmt
depends = yara
optdepends = imhex-patterns-git: ImHex base patterns
+ provides = imhex-patterns
+ conflicts = imhex-patterns-git
options = !lto
options = !strip
source = imhex::git+https://github.com/WerWolv/ImHex.git#tag=v1.28.0
@@ -32,6 +34,7 @@ pkgbase = imhex
source = capstone::git+https://github.com/capstone-engine/capstone#branch=next
source = libwolv::git+https://github.com/WerWolv/libwolv
source = pattern_language::git+https://github.com/WerWolv/PatternLanguage#tag=ImHex-v1.28.0
+ source = imhex-patterns::git+https://github.com/WerWolv/ImHex-Patterns#tag=ImHex-v1.28.0
source = 0001-makepkg-Fix-compiler-check.patch
source = pl-0001-Use-C-23-standard.patch
source = pl-0002-makepkg-Remove-extraneous-compiler-flags.patch
@@ -42,6 +45,7 @@ pkgbase = imhex
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
+ sha256sums = SKIP
sha256sums = 43bdbbb6edf567201fa52f1c695f77fea9a27dd5c62de615ef74d64a5e676a98
sha256sums = 4c3e667d40eabe2a5ea724125c69f73bcb6774c01db9ad97bc6b633e1c284fc5
sha256sums = 7a7f17c95bfe9de4cda023aa29dfa019ea2870c29e14fa559c2be8b725649d57
@@ -52,6 +56,7 @@ pkgbase = imhex
b2sums = SKIP
b2sums = SKIP
b2sums = SKIP
+ b2sums = SKIP
b2sums = 99e8c5fb5dc0ad07039731c3245bec097de25e675be0f5c52c799738d794ee26df6506adf34fac42663dd39f1c84e7e1675aac5b2f47ef4f2d5ebb903ad4b3a3
b2sums = ca3779e974709fa15e55255973eb2ff34fb21251c9f8b00c5b2efcfb175add34b503063984589c8d716b650a9543aa19dc2185b2f531ab8d4363635724114199
b2sums = cc2c7d42f18bfb5da0c962b1f3a98c19aec541df9464a3a7a4ac118def9f81e41ac38967c95aba1bc17b3b48630dcef5c9c51bbaf8eed4f386c9aa46a21d2d78
diff --git a/PKGBUILD b/PKGBUILD
index c9d2d2cac125..24c0f81a8802 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=ImHex
pkgname=${_pkgname,,}
pkgver=1.28.0
-pkgrel=1
+pkgrel=2
pkgdesc='A Hex Editor for Reverse Engineers, Programmers and people that value their eye sight when working at 3 AM'
url='https://imhex.werwolv.net'
license=('GPL2')
@@ -16,6 +16,8 @@ makedepends=('git' 'cmake' 'llvm' 'nlohmann-json' 'librsvg' 'python')
optdepends=(
'imhex-patterns-git: ImHex base patterns'
)
+provides=('imhex-patterns')
+conflicts=('imhex-patterns-git')
source=("$pkgname::git+https://github.com/WerWolv/ImHex.git#tag=v$pkgver"
"nativefiledialog::git+https://github.com/btzy/nativefiledialog-extended.git"
"xdgpp::git+https://git.sr.ht/~danyspin97/xdgpp"
@@ -23,6 +25,7 @@ source=("$pkgname::git+https://github.com/WerWolv/ImHex.git#tag=v$pkgver"
"capstone::git+https://github.com/capstone-engine/capstone#branch=next"
"libwolv::git+https://github.com/WerWolv/libwolv"
"pattern_language::git+https://github.com/WerWolv/PatternLanguage#tag=ImHex-v$pkgver"
+ "imhex-patterns::git+https://github.com/WerWolv/ImHex-Patterns#tag=ImHex-v$pkgver"
0001-makepkg-Fix-compiler-check.patch
pl-0001-Use-C-23-standard.patch
pl-0002-makepkg-Remove-extraneous-compiler-flags.patch)
@@ -33,6 +36,7 @@ sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
+ 'SKIP'
'43bdbbb6edf567201fa52f1c695f77fea9a27dd5c62de615ef74d64a5e676a98'
'4c3e667d40eabe2a5ea724125c69f73bcb6774c01db9ad97bc6b633e1c284fc5'
'7a7f17c95bfe9de4cda023aa29dfa019ea2870c29e14fa559c2be8b725649d57')
@@ -43,6 +47,7 @@ b2sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
+ 'SKIP'
'99e8c5fb5dc0ad07039731c3245bec097de25e675be0f5c52c799738d794ee26df6506adf34fac42663dd39f1c84e7e1675aac5b2f47ef4f2d5ebb903ad4b3a3'
'ca3779e974709fa15e55255973eb2ff34fb21251c9f8b00c5b2efcfb175add34b503063984589c8d716b650a9543aa19dc2185b2f531ab8d4363635724114199'
'cc2c7d42f18bfb5da0c962b1f3a98c19aec541df9464a3a7a4ac118def9f81e41ac38967c95aba1bc17b3b48630dcef5c9c51bbaf8eed4f386c9aa46a21d2d78')
@@ -109,7 +114,10 @@ package() {
install -Dm0755 -t "$pkgdir/usr/lib/imhex/plugins" "build/plugins/$plugin.hexplug"
done
+ # Patterns
install -dm0755 "$pkgdir/usr/share/imhex"
+ cp -r -t "$pkgdir/usr/share/imhex" \
+ "$srcdir/imhex-patterns"/{constants,encodings,includes,magic,patterns,themes,tips}
# Desktop file(s)
install -Dm0644 -t "$pkgdir/usr/share/applications" "$pkgname/dist/imhex.desktop"