Date: Thursday, April 12, 2018 @ 18:37:01
  Author: idevolder
Revision: 316104

upgpkg: fpc 3.0.4-2

Modified:
  fpc/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++--------------------
 1 file changed, 6 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-12 18:24:31 UTC (rev 316103)
+++ PKGBUILD    2018-04-12 18:37:01 UTC (rev 316104)
@@ -1,41 +1,28 @@
 # $Id$
 # Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
 # Contributor: Valeriy Lyasotskiy <ones...@ukr.net>
 # Contributor: Jan Willemson <jan...@hot.ee>
 # Contributor: Hugo Ideler <hugoide...@dse.nl>
-# Contributor: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
 # Original PKGBUILD: Andre Naumann <anaum...@sparced.org>
 # See http://bbs.archlinux.org/viewtopic.php?t=9318&highlight=fpc
 
 pkgname=fpc
 pkgver=3.0.4
-_gdbver=7.10
-pkgrel=1
+pkgrel=2
 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=('x86_64')
 url="http://www.freepascal.org/";
 license=('GPL' 'LGPL' 'custom')
 backup=("etc/fpc.cfg")
-depends=(ncurses zlib expat)
+depends=('ncurses' 'zlib' 'expat' 'binutils')
 makedepends=(fpc)
 options=(zipman staticlibs)
-validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3')
-source=(ftp://ftp.freepascal.org/pub/fpc/dist/$pkgver/source/fpcbuild-$pkgver.tar.gz
-       https://ftp.gnu.org/gnu/gdb/gdb-${_gdbver}.tar.xz{,.sig})
-sha256sums=('f66514e6f2c2e4e1bccccb4d554c24b77682ed61c87811ae5dd210f421855e76'
-            '7ebdaa44f9786ce0c142da4e36797d2020c55fa091905ac5af1846b5756208a8'
-            'SKIP')
+source=(ftp://ftp.freepascal.org/pub/fpc/dist/$pkgver/source/fpcbuild-$pkgver.tar.gz)
+sha256sums=('f66514e6f2c2e4e1bccccb4d554c24b77682ed61c87811ae5dd210f421855e76')
 
 build() {
-  cd "$srcdir"/gdb-${_gdbver}
-#  ./configure --prefix=/usr --disable-nls --without-python --disable-werror 
--disable-tui
-#  make
-#  make -C gdb libgdb.a
-#  cp libdecnumber/libdecnumber.a gdb/
-
   cd "$srcdir"/fpcbuild-$pkgver
-  export GDBLIBDIR="$srcdir"/gdb-${_gdbver}/gdb
-  export LIBGDBFILE=$GDBLIBDIR/libgdb.a
   pushd fpcsrc/compiler
   fpcmake -Tall
   popd
@@ -47,13 +34,12 @@
 
   export HOME="$srcdir"
 
-  make -j1 PREFIX="$pkgdir"/usr install
+  make -j1 PREFIX="$pkgdir"/usr install NOGDB=1
 
   export PATH="$pkgdir"/usr/bin:$PATH
 
   install -Dm0644 fpcsrc/rtl/COPYING.FPC 
"$pkgdir"/usr/share/licenses/${pkgname}/COPYING.FPC
 
-  [ "$CARCH" = "i686" ] && ln -s /usr/lib/fpc/${pkgver}/ppc386 
"$pkgdir"/usr/bin/
   [ "$CARCH" = "x86_64" ] && ln -s /usr/lib/fpc/${pkgver}/ppcx64 
"$pkgdir"/usr/bin/
 
   mkdir -p "$pkgdir"/etc

Reply via email to