summaryrefslogtreecommitdiff
path: root/manualPorts/lazarus/Pkgfile
blob: 510bf7244ecf3e19510dfff439c6376e7acdc1c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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.10
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
}