[arch-commits] Commit in fpc/repos/community-x86_64 (PKGBUILD PKGBUILD)

Ike Devolder idevolder at archlinux.org
Thu Apr 12 18:37:22 UTC 2018


    Date: Thursday, April 12, 2018 @ 18:37:20
  Author: idevolder
Revision: 316105

archrelease: copy trunk to community-x86_64

Added:
  fpc/repos/community-x86_64/PKGBUILD
    (from rev 316104, fpc/trunk/PKGBUILD)
Deleted:
  fpc/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  122 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 54 insertions(+), 68 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-12 18:37:01 UTC (rev 316104)
+++ PKGBUILD	2018-04-12 18:37:20 UTC (rev 316105)
@@ -1,68 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Valeriy Lyasotskiy <onestep at ukr.net>
-# Contributor: Jan Willemson <janwil at hot.ee>
-# Contributor: Hugo Ideler <hugoideler at dse.nl>
-# Contributor: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
-# Original PKGBUILD: Andre Naumann <anaumann at SPARCed.org>
-# See http://bbs.archlinux.org/viewtopic.php?t=9318&highlight=fpc
-
-pkgname=fpc
-pkgver=3.0.4
-_gdbver=7.10
-pkgrel=1
-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)
-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')
-
-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
-  make build NOGDB=1
-}
-
-package() {
-  cd "$srcdir"/fpcbuild-$pkgver
-
-  export HOME="$srcdir"
-
-  make -j1 PREFIX="$pkgdir"/usr install
-
-  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
-  "$pkgdir"/usr/lib/fpc/${pkgver}/samplecfg "$pkgdir"/usr/lib/fpc/${pkgver} "$pkgdir"/etc
-
-  # use -fPIC by default
-  echo -e "#ifdef cpux86_64\n# for x86_64 use -fPIC by default\n-Cg\n#endif" >> "$pkgdir/etc/fpc.cfg"
-
-  mv "$pkgdir"/usr/man "$pkgdir"/usr/share/
-
-  find "$pkgdir"/etc/ -type f -exec sed -i "s|"$pkgdir"||g" {} \;
-}

Copied: fpc/repos/community-x86_64/PKGBUILD (from rev 316104, fpc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-12 18:37:20 UTC (rev 316105)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
+# Contributor: Valeriy Lyasotskiy <onestep at ukr.net>
+# Contributor: Jan Willemson <janwil at hot.ee>
+# Contributor: Hugo Ideler <hugoideler at dse.nl>
+# Original PKGBUILD: Andre Naumann <anaumann at SPARCed.org>
+# See http://bbs.archlinux.org/viewtopic.php?t=9318&highlight=fpc
+
+pkgname=fpc
+pkgver=3.0.4
+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' 'binutils')
+makedepends=(fpc)
+options=(zipman staticlibs)
+source=(ftp://ftp.freepascal.org/pub/fpc/dist/$pkgver/source/fpcbuild-$pkgver.tar.gz)
+sha256sums=('f66514e6f2c2e4e1bccccb4d554c24b77682ed61c87811ae5dd210f421855e76')
+
+build() {
+  cd "$srcdir"/fpcbuild-$pkgver
+  pushd fpcsrc/compiler
+  fpcmake -Tall
+  popd
+  make build NOGDB=1
+}
+
+package() {
+  cd "$srcdir"/fpcbuild-$pkgver
+
+  export HOME="$srcdir"
+
+  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" = "x86_64" ] && ln -s /usr/lib/fpc/${pkgver}/ppcx64 "$pkgdir"/usr/bin/
+
+  mkdir -p "$pkgdir"/etc
+  "$pkgdir"/usr/lib/fpc/${pkgver}/samplecfg "$pkgdir"/usr/lib/fpc/${pkgver} "$pkgdir"/etc
+
+  # use -fPIC by default
+  echo -e "#ifdef cpux86_64\n# for x86_64 use -fPIC by default\n-Cg\n#endif" >> "$pkgdir/etc/fpc.cfg"
+
+  mv "$pkgdir"/usr/man "$pkgdir"/usr/share/
+
+  find "$pkgdir"/etc/ -type f -exec sed -i "s|"$pkgdir"||g" {} \;
+}



More information about the arch-commits mailing list