# Description: Delphi-like IDE for fpc. # URL: http://www.lazarus-ide.org/ # Maintainer: Erich Eckner, crux at eckner dot net # Depends on: fpc fpc-src gdb name=lazarus version=2.0.6 release=1 source=(https://downloads.sourceforge.net/project/$name/Lazarus%20Zip%20_%20GZip/Lazarus%20$version/$name-$version.tar.gz) build() { cd $name MAKEFLAGS="$(echo "$MAKEFLAGS" | sed "s/-j[[:digit:]]\+\s\?//")" make LCL_PLATFORM=gtk2 bigide make install PREFIX=$PKG/usr find $PKG \ \( \ -name "*README*" -o \ -name "*BUGS*" -o \ -name "*TODO*" -o \ -name "*COPYING*" -o \ -name "*INSTALL*" -o \ -name "*ChangeLog*" \ \) -delete }