1 # Contributor: Tom Billiet (mouse256@ulyssis.org)
2 # Maintainer: Kevin Cox (youarefunny - ktcox@rogers.com)
6 pkgdesc="IDE applications based on Microchip PIC and dsPIC microcontrollers similar to MPLAB"
7 url="http://piklab.sourceforge.net/"
10 depends=('cmake' 'kdelibs3' 'hicolor-icon-theme')
11 optdepends=('gputils: Assembeler'
12 'pk2cmd: Upload via PikKit2 programer'
13 'sdcc: Compile C Code')
14 install=$pkgname.install
15 source=("http://downloads.sourceforge.net/project/$pkgname/newest%20release/$pkgver/$pkgname-$pkgver.tar.bz2")
16 md5sums=('21afd675a35a991f4b33562965504e0f')
19 cd "${srcdir}/$pkgname-$pkgver"
21 export KDEDIRS=${pkgdir}/usr:/opt/kde
22 cmake -D 'CMAKE_BUILD_TYPE=Release' \
23 -D 'CMAKE_INSTALL_PREFIX=/usr' \
24 -D 'QT_INCLUDE_DIR:PATH=/opt/qt/include' \
25 -D 'QT_MOC_EXECUTABLE:FILEPATH=/opt/qt/bin/moc' \
26 -D 'QT_UIC_EXECUTABLE:FILEPATH=/opt/qt/bin/uic' \
27 -D 'QT_QT_LIBRARY:FILEPATH=/opt/qt/lib/libqt-mt' \
31 make DESTDIR="${pkgdir}" install
33 rm -rf ${pkgdir}/usr/share/doc/HTML/en/piklab/common
37 # cd ${srcdir}/$pkgname-$pkgver
38 # export KDEDIRS=${pkgdir}/usr:/opt/kde
40 # -DCMAKE_INSTALL_PREFIX=/usr \
41 # -DCMAKE_BUILD_TYPE=Release