blob: b775d3e033d1ee12e0263f96d4bb15fd1d485a82 (
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
40
41
42
43
44
45
46
47
48
49
50
51
|
# Maintainer: revel <revelΘmuub·net>
# Contributor: shild <sxp@bk.ru>
# Contributor: m4tx <m4tx@m4tx.p>
pkgname=edb-debugger
pkgver=1.1.0
pkgrel=1
pkgdesc="EDB (Evan's Debugger) is a cross platform AArch32/x86/x86-64 debugger, inspired by Ollydbg."
arch=('i686' 'x86_64')
url='http://www.codef00.com/projects#debugger'
license=('GPL2')
depends=('qt5-xmlpatterns' 'qt5-svg' 'capstone>=3.0')
makedepends=('boost>=1.35.0' 'cmake')
optdepends=('graphviz')
source=("https://github.com/eteran/edb-debugger/releases/download/$pkgver/edb-debugger-$pkgver.tgz"
'edb.desktop')
sha256sums=('f13de8fd3f26fa1210fb0ff50ff756c2de8de51e75770a57aca35df06d6a0187'
'f3e725642c6b87d5a7fd25331a9560d4f9803c22566875b722bc27e275f311a6')
prepare() {
cd "edb-debugger"
}
build() {
cd "edb-debugger"
[ ! -d build ] && mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="$pkgdir/usr/" ..
make
}
package() {
cd "edb-debugger"
cd build
# install to pkg dir
make install
# correct /usr/lib64 -> /usr/lib on x86_64
# [ "$CARCH" = "x86_64" ] && (mv "$pkgdir/usr/lib64" "$pkgdir/usr/lib")
# icons
cd ..
install -Dm644 src/images/edb48-logo.png "$pkgdir/usr/share/pixmaps/edb.png"
install -Dm644 src/images/edb48-logo.png "$pkgdir/usr/share/icons/hicolor/48x48/apps/edb.png"
# install desktop file
cd ..
install -Dm644 edb.desktop "$pkgdir/usr/share/applications/edb.desktop"
}
|