# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: JJDaNiMoTh pkgname=ktechlab pkgver=0.3.6 pkgrel=4 pkgdesc="IDE for electronic circuits and microcontrollers" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/ktechlab" license=("GPL") depends=('kdelibs3' 'gputils' 'gpsim') makedepends=() source=(http://downloads.sourceforge.net/sourceforge/ktechlab/${pkgname}-${pkgver}.tar.bz2 \ gcc-4.1.patch) md5sums=('0cc2f2054f7906780c8580560f04b0ff' '10c1429805079db53ff8fdbcbf8246e6') build() { cd ${startdir}/src/${pkgname}-0.3 # Apply GCC 4.1 patch patch -p1 < ${startdir}/src/gcc-4.1.patch ./configure --prefix=/opt/kde --disable-debug --without-arts make || return 1 make DESTDIR=${startdir}/pkg install }