summaryrefslogtreecommitdiff
path: root/manualPorts/fpc-src/Pkgfile
blob: 084e8a252319ca1ea62bb9208e19908f29338d64 (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
25
# Description: Sources for the FreePascal compiler (required by the Lazarus IDE)
# URL: http://www.lazarus-ide.org/
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: fpc

name=fpc-src
version=3.0.4
release=1
source=(ftp://ftp.freepascal.org/pub/fpc/dist/$version/source/fpcbuild-$version.tar.gz)

build() {
    cd fpcbuild-$version/fpcsrc
    mkdir -p $PKG/usr/lib/fpc/src
    cp -R . $PKG/usr/lib/fpc/src
    find $PKG/usr/lib/fpc/src \
      \( \
        -name '*README*' -o \
        -name '*INSTALL*' -o \
        -name '*COPYING*' -o \
        -name '*ChangeLog*' -o \
        -name '*TODO*' -o \
        -name '*AUTHORS*' \
      \) -delete
}