1 # Maintainer: codestation <cesarg9 at gmail dot com>
5 pkgdesc="Open-Source & Cross-Platform Text/Hex Editor written in C++ and wxWidgets."
7 url="http://madedit.sourceforge.net/"
9 depends=('gtk2>=2.6.0' 'glib2>=2.6.0' 'wxgtk>=2.6.1')
10 makedepends=('boost>=1.33.0')
12 source=(http://downloads.sourceforge.net/sourceforge/madedit/$pkgname-$pkgver.tar.gz
13 madedit-onpaint-fix.patch
14 madedit-add-file-changed-event.patch
15 madedit-max-linelength-fix.patch
16 madedit-desktop-file.patch)
18 md5sums=('d5530767a363ca7e9135bd046a227f91'
19 '7985f66c07a1e27ee65bc01524274796'
20 '661acd7e6c5f3c53177157f681335459'
21 '9d9e75d6519c723e5870801d5d43bf37'
22 'cdce3aba22e7106a1278a512b7f6a028')
25 cd $startdir/src/$pkgname-$pkgver
27 patch -p0 < ../madedit-onpaint-fix.patch || return 1
28 patch -p0 < ../madedit-add-file-changed-event.patch || return 1
29 patch -p0 < ../madedit-max-linelength-fix.patch || return 1
30 patch -p0 < ../madedit-desktop-file.patch || return 1
32 ./configure --prefix=/usr || return 1
34 make DESTDIR=$startdir/pkg install || return 1