# Maintainer: mickael9 pkgname=gpsim pkgver=0.23.0 pkgrel=2 pkgdesc="A full-featured software simulator for Microchip PIC microcontrollers" arch=(i686 x86_64) url="http://www.dattalo.com/gnupic/gpsim.html" license=(GPL) depends=('gtk2+extra' 'popt') makedepends=('gtk2+extra') source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz gpsim-0.22.0-gcc-4.3-full.patch) md5sums=('d19a3aef6e62fed6a7e23d5c5817ed56' '60abf990753eaaaca87c3da325a97b34') build() { cd ${srcdir}/${pkgname}-${pkgver} # patch -p1 < ../gpsim-0.22.0-gcc-4.3-full.patch ./configure --prefix=/usr make || return 1 make DESTDIR=${pkgdir} install }