updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / edb-debugger / PKGBUILD
blob1240f3dad9ae830324b5175dac022532d335617d
1 # Maintainer: revel <revelΘmuub·net>
2 # Contributor: shild <sxp@bk.ru>
4 pkgname=edb-debugger
5 pkgver=0.9.18
6 pkgrel=1
7 pkgdesc="EDB (Evan's Debugger) is a QT4 based binary mode debugger with the goal of having usability on par with OllyDbg."
8 arch=('i686' 'x86_64')
9 url="http://www.codef00.com/projects.php#Debugger"
10 license=('GPL2')
11 depends=('qt>=4.5')
12 makedepends=('boost>=1.35.0')
13 install=edb.install
14 source=(http://www.codef00.com/projects/debugger-$pkgver.tgz
15         edb.desktop)
17 build() {
18   cd $srcdir/debugger
20   qmake -makefile DEFAULT_PLUGIN_PATH="/usr/lib/edb/"
22   # build
23   make
26 package() {
27   cd $srcdir/debugger
28   
29   # install to pkg dir
30   make INSTALL_ROOT=$pkgdir/usr install
31   
32   # correct /usr/lib64 -> /usr/lib on x86_64
33   [ "$CARCH" = "x86_64" ] && (mv $pkgdir/usr/lib64 $pkgdir/usr/lib)
35   # maybe post_install message about this script ?
36 #  install -m755 edb_make_symbolmap.sh $pkgdir/usr/bin
37   
38   # icons
39   install -D -m 644 src/images/edb48-logo.png $pkgdir/usr/share/pixmaps/edb.png
40   install -D -m 644 src/images/edb48-logo.png $pkgdir/usr/share/icons/hicolor/48x48/apps/edb.png
41   
42   # install desktop file
43   cd ..
44   install -D -m 644 edb.desktop $pkgdir/usr/share/applications/edb.desktop
47 md5sums=('c34e60c5c5c02c716cdcfb669f74e13f'
48          'e9be4ef10362b0ae251dfb8f7d122395')
49 sha256sums=('dd046187ca6301265f1a2116919a3bf4af64c9ad3fa14809030abbfe82af7b43'
50             'a489c5df5018e82ca6899cf850ed19602ed12bfad3b62107fdfde85512355d62')