updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / madedit / PKGBUILD
blobf46ac54af228a3b6ba465826be7531d8bef0a7f2
1 # Maintainer: codestation <cesarg9 at gmail dot com>
2 pkgname=madedit
3 pkgver=0.2.9
4 pkgrel=3
5 pkgdesc="Open-Source & Cross-Platform Text/Hex Editor written in C++ and wxWidgets."
6 arch=('i686' 'x86_64')
7 url="http://madedit.sourceforge.net/"
8 license=('GPL')
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')
24 build() {
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
33         make || return 1
34         make DESTDIR=$startdir/pkg install || return 1