summaryrefslogtreecommitdiff
path: root/community/fpc/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-11 11:14:03 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-11 11:14:03 -0300
commit828f6a7c0f0285abf2b1fb91895406dcb5d5b0e5 (patch)
treefb283e1b49ba0e6a1fbb3748cc6600facf62fdc4 /community/fpc/PKGBUILD
parent015d5bbcdc8bd4c24cd79582d13225844045d2ec (diff)
parente81c6fe4fb38144709923b2da3ab68a01712a26b (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: extra/flac/PKGBUILD extra/glib/PKGBUILD extra/gnome-control-center/PKGBUILD extra/qiv/PKGBUILD extra/vamp-plugin-sdk/PKGBUILD extra/vcdimager/PKGBUILD extra/xorg-server/PKGBUILD
Diffstat (limited to 'community/fpc/PKGBUILD')
-rw-r--r--community/fpc/PKGBUILD21
1 files changed, 17 insertions, 4 deletions
diff --git a/community/fpc/PKGBUILD b/community/fpc/PKGBUILD
index e3d154b45..fa5ffb86e 100644
--- a/community/fpc/PKGBUILD
+++ b/community/fpc/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 48312 2011-05-31 09:49:30Z spupykin $
+# $Id: PKGBUILD 53775 2011-08-08 08:05:51Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Valeriy Lyasotskiy <onestep@ukr.net>
# Contributor: Jan Willemson <janwil@hot.ee>
@@ -8,7 +8,7 @@
pkgname=fpc
pkgver=2.4.4
-pkgrel=1
+pkgrel=3
pkgdesc="The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32bit Pascal Compiler. It comes with fully TP 7.0 compatible run-time library."
arch=('i686' 'x86_64' 'mips64el')
url="http://www.freepascal.org/"
@@ -17,18 +17,31 @@ backup=("etc/fpc.cfg")
depends=(ncurses)
makedepends=(fpc)
options=(zipman)
-source=(ftp://ftp.freepascal.org/pub/fpc/dist/$pkgver/source/fpcbuild-$pkgver.tar.gz)
-md5sums=('d069dfd3412bd0d26dcd1b81ac998305')
+source=(ftp://ftp.freepascal.org/pub/fpc/dist/$pkgver/source/fpcbuild-$pkgver.tar.gz
+ Makefile-mk382.diff)
+md5sums=('d069dfd3412bd0d26dcd1b81ac998305'
+ 'a2242d261b055d08fa4d70e88ca1d1a7')
build() {
cd ${srcdir}/fpcbuild-$pkgver
+ pushd fpcsrc/compiler
+ patch -uN Makefile.fpc $srcdir/Makefile-mk382.diff
+ fpcmake -Tall
+ popd
make NOGDB=1 build
+# make NOGDB=1 build OS_TARGET=win32 CPU_TARGET=i386
}
package() {
cd ${srcdir}/fpcbuild-$pkgver
+
+ export HOME=$srcdir
+
make -j1 NOGDB=1 PREFIX=${pkgdir}/usr install
+# make NOGDB=1 PREFIX=${pkgdir}/usr crossinstall OS_TARGET=win32 CPU_TARGET=i386
+# ln -s /usr/lib/fpc/$pkgver/ppcross386 $pkgdir/usr/bin/ppcross386
+
# install package license
install -m 755 -d ${pkgdir}/usr/share/licenses/${pkgname}
install -m 644 fpcsrc/rtl/COPYING.FPC ${pkgdir}/usr/share/licenses/${pkgname}/