summaryrefslogtreecommitdiff
path: root/manualPorts/lazarus/Pkgfile
blob: 4e76d87b182caac78945439a4664f55ba838cdbe (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.8
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
}