summaryrefslogtreecommitdiff
path: root/manualPorts/fpc-src/Pkgfile
blob: 3db9f78688b46b17be118147bc52d2ac96a491d0 (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.2
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
}