summaryrefslogtreecommitdiff
path: root/manualPorts/lazarus/Pkgfile
blob: 913fd73f4689656399926d7176fa15a210a4b83b (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=1.8.4
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 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
}