blob: 856ea6baae8fe4630f65fe84a695f9ebd9da9ced (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#
# Maintainer: Antonio Davide Trogu <contact at redasm dot io>
#
_pkgver=3.0.0-beta5
_pkgname=REDasm
pkgname=redasm-disassembler
pkgver=${_pkgver//-/_}
pkgrel=1
url="https://redasm.io"
arch=("x86_64")
pkgdesc="The Open Source Disassembler (Official Package)"
license=("GPL3")
makedepends=("cmake" "git")
depends=("qt5-base")
conflicts=("redasm-git" "redasm")
source=("git+https://github.com/REDasmOrg/REDasm.git#tag=v${_pkgver}")
md5sums=("SKIP")
prepare() {
cd ${_pkgname}
git submodule update --init --recursive
}
build() {
cd ${_pkgname}
mkdir -p build
cd build
cmake ..
cmake --build . --config Release
}
package() {
cd ${_pkgname}/build
cmake --install . --prefix $pkgdir/usr
}
|