summaryrefslogtreecommitdiff
path: root/manualPorts/fpc-src/Pkgfile
blob: 01edf4b2807a500c0a5998071c45692a9c2628c3 (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.2.0
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
}