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

Antonio Rojas arojas at gemini.archlinux.org
Sat Apr 23 09:23:05 UTC 2022


    Date: Saturday, April 23, 2022 @ 09:23:04
  Author: arojas
Revision: 1187528

archrelease: copy trunk to community-x86_64

Added:
  gprolog/repos/community-x86_64/PKGBUILD
    (from rev 1187527, gprolog/trunk/PKGBUILD)
Deleted:
  gprolog/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-23 09:22:52 UTC (rev 1187527)
+++ PKGBUILD	2022-04-23 09:23:04 UTC (rev 1187528)
@@ -1,44 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Geoffroy Carrier <geoffroy.carrier at koon.fr>
-# Contributer: Jason Chu <jchu at xentac.net>
-
-pkgname=gprolog
-pkgver=1.5.0
-pkgrel=1
-pkgdesc="GNU Prolog"
-arch=('x86_64')
-url="http://www.gprolog.org/"
-depends=('glibc')
-license=('GPL')
-options=('staticlibs')
-# "ftp://ftp.gnu.org/gnu/gprolog/gprolog-$pkgver.tar.gz"
-source=("http://www.gprolog.org/gprolog-$pkgver.tar.gz")
-md5sums=('d656545898e20297a7f7bf672c0da437')
-
-build() {
-   cd "$srcdir/gprolog-$pkgver/src"
-   CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
-   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-c-flags="$CFLAGS -fPIC"
-   make
-}
-
-package() {
-   cd "$srcdir/gprolog-$pkgver/src"
-   make install \
-	INSTALL_DIR="$pkgdir"/usr/share/gprolog \
-	LINKS_DIR="$pkgdir"/usr/bin \
-	DOC_DIR="$pkgdir"/usr/share/gprolog/doc \
-	HTML_DIR="$pkgdir"/usr/share/gprolog/doc/Html \
-	EXAMPLES_DIR="$pkgdir"/usr/share/gprolog \
-	sysconfdir="$pkgdir"/etc \
-	localstatedir="$pkgdir"/var
-   cd "$pkgdir"/usr/bin
-   rm *
-   ln -s /usr/share/gprolog/bin/fd2c
-   ln -s /usr/share/gprolog/bin/gplc
-   ln -s /usr/share/gprolog/bin/gprolog
-   ln -s /usr/share/gprolog/bin/hexgplc
-   ln -s /usr/share/gprolog/bin/ma2asm
-   ln -s /usr/share/gprolog/bin/pl2wam
-   ln -s /usr/share/gprolog/bin/wam2ma
-}

Copied: gprolog/repos/community-x86_64/PKGBUILD (from rev 1187527, gprolog/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-23 09:23:04 UTC (rev 1187528)
@@ -0,0 +1,44 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Geoffroy Carrier <geoffroy.carrier at koon.fr>
+# Contributer: Jason Chu <jchu at xentac.net>
+
+pkgname=gprolog
+pkgver=1.5.0
+pkgrel=2
+pkgdesc="GNU Prolog"
+arch=('x86_64')
+url="http://www.gprolog.org/"
+depends=('glibc')
+license=('GPL')
+options=('staticlibs' '!lto')
+# "ftp://ftp.gnu.org/gnu/gprolog/gprolog-$pkgver.tar.gz"
+source=("http://www.gprolog.org/gprolog-$pkgver.tar.gz")
+md5sums=('d656545898e20297a7f7bf672c0da437')
+
+build() {
+   cd "$srcdir/gprolog-$pkgver/src"
+   CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-c-flags="$CFLAGS -fPIC" --disable-regs
+   make
+}
+
+package() {
+   cd "$srcdir/gprolog-$pkgver/src"
+   make install \
+	INSTALL_DIR="$pkgdir"/usr/share/gprolog \
+	LINKS_DIR="$pkgdir"/usr/bin \
+	DOC_DIR="$pkgdir"/usr/share/gprolog/doc \
+	HTML_DIR="$pkgdir"/usr/share/gprolog/doc/Html \
+	EXAMPLES_DIR="$pkgdir"/usr/share/gprolog \
+	sysconfdir="$pkgdir"/etc \
+	localstatedir="$pkgdir"/var
+   cd "$pkgdir"/usr/bin
+   rm *
+   ln -s /usr/share/gprolog/bin/fd2c
+   ln -s /usr/share/gprolog/bin/gplc
+   ln -s /usr/share/gprolog/bin/gprolog
+   ln -s /usr/share/gprolog/bin/hexgplc
+   ln -s /usr/share/gprolog/bin/ma2asm
+   ln -s /usr/share/gprolog/bin/pl2wam
+   ln -s /usr/share/gprolog/bin/wam2ma
+}



More information about the arch-commits mailing list