1 # Contributor: Marcel Schneider <marcelATcoopmastersDOTde>
2 # Maintainer: Laszlo Papp <djszapi2 at gmail dot com>
6 pkgdesc="Fully featured Microchip PIC simulator for Linux"
7 url="http://www.mtoussaint.de/yapide.html"
11 source=(http://www.mtoussaint.de/$pkgname-$pkgver.tgz
13 md5sums=('d5eea72bb8d3ca2606b9ff6337a935c3'
14 '54d92e5eed43c7764673603ceb5dc0ca')
17 export PATH=/opt/qt/bin:$PATH #make sure to use qmake version qt3
18 mv ${srcdir}/YaPIDE-$pkgver ${srcdir}/$pkgname-$pkgver
19 cd ${srcdir}/$pkgname-$pkgver
20 patch -Np1 -i ../../gcc-4.3.1.patch || return 1
21 export KDEDIRS=${pkgdir}/usr:/opt/kde
24 install -Dm755 ${srcdir}/$pkgname-$pkgver/bin/$pkgname ${pkgdir}/usr/bin/${pkgname} || return 1