2022-07-04 21:40:22 +02:00
|
|
|
# Maintainer: iTrooz_ <itrooz at protonmail dot com>
|
|
|
|
pkgname=imhex-bin
|
|
|
|
pkgver=%version%
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM. "
|
|
|
|
arch=("x86_64")
|
|
|
|
url="https://github.com/WerWolv/ImHex"
|
|
|
|
repo=$url
|
|
|
|
license=('GPL 2.0')
|
|
|
|
groups=()
|
2022-07-31 15:28:05 +02:00
|
|
|
depends=(glfw mbedtls curl python freetype2 libglvnd dbus xdg-desktop-portal)
|
2022-07-04 21:40:22 +02:00
|
|
|
makedepends=(git)
|
|
|
|
checkdepends=()
|
|
|
|
optdepends=()
|
|
|
|
provides=(imhex)
|
|
|
|
conflicts=(imhex)
|
|
|
|
replaces=()
|
|
|
|
backup=()
|
|
|
|
options=()
|
|
|
|
source=($repo"/releases/download/v$pkgver/imhex-$pkgver-ArchLinux.pkg.tar.zst")
|
|
|
|
noextract=()
|
|
|
|
md5sums=(SKIP)
|
|
|
|
validpgpkeys=()
|
|
|
|
|
|
|
|
package() {
|
|
|
|
tar -xf imhex-$pkgver-ArchLinux.pkg.tar.zst
|
|
|
|
|
|
|
|
install -DT $srcdir/usr/bin/imhex $pkgdir/usr/bin/imhex
|
2022-07-31 17:29:57 +02:00
|
|
|
install -DT $srcdir/usr/lib/libimhex.so.$pkgver $pkgdir/usr/lib/libimhex.so.$pkgver
|
2022-07-04 21:40:22 +02:00
|
|
|
|
2022-08-04 20:37:57 +02:00
|
|
|
for plugin in $srcdir/usr/lib/imhex/plugins/*.hexplug;
|
2022-07-04 21:40:22 +02:00
|
|
|
do
|
2022-08-04 20:37:57 +02:00
|
|
|
install -DT $plugin $pkgdir/usr/lib/imhex/plugins/`basename $plugin`
|
2022-07-04 21:40:22 +02:00
|
|
|
done
|
|
|
|
|
2022-08-04 20:37:57 +02:00
|
|
|
mkdir -p $pkgdir/usr/share/imhex
|
2022-07-04 21:40:22 +02:00
|
|
|
cp -r $srcdir/usr/share/imhex/{constants,encodings,includes,magic,patterns} $pkgdir/usr/share/imhex
|
2022-07-08 09:23:53 +02:00
|
|
|
cp -r $srcdir/usr/share/{applications,licenses} $pkgdir/usr/share
|
|
|
|
install -d $pkgdir/usr/share
|
2022-07-04 21:40:22 +02:00
|
|
|
}
|