2 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Jens Adam (byte/jra) <j_adam@web.de>
5 pkgname=lazarus-crossw32
8 pkgdesc='Delphi-like IDE for FreePascal (win32 crosscompiler)'
9 url='http://www.lazarus.freepascal.org/'
10 license=('GPL2' 'MPL' 'custom:LGPL')
11 arch=('i686' 'x86_64')
12 depends=('fpc' 'fpc-src' 'gtk2' 'fpc-crossw32' 'lazarus')
13 #makedepends=(rpmextract)
14 options=('!emptydirs' '!makeflags')
15 source=(http://downloads.sourceforge.net/project/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20$pkgver/lazarus-$pkgver-src.tar.bz2)
16 md5sums=('0dcf54613c2f9d38a32d183431e2dfc9')
20 make FPC=/usr/bin/fpc clean lcl packager/registration ideintf packager components OS_TARGET=win32 CPU_TARGET=i386
26 # skip the 'make install' mess completely and do everything manually
27 #mkdir -v $pkgdir/usr/lib/lazarus
28 mkdir -p $pkgdir/usr/lib/lazarus
29 find . -type f -path *i386-win32* -exec cp --parents '{}' $pkgdir/usr/lib/lazarus/ \;