[arch-commits] Commit in gc/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sat Nov 6 17:54:19 UTC 2021


    Date: Saturday, November 6, 2021 @ 17:54:19
  Author: arojas
Revision: 427413

archrelease: copy trunk to extra-x86_64

Added:
  gc/repos/extra-x86_64/PKGBUILD
    (from rev 427412, gc/trunk/PKGBUILD)
Deleted:
  gc/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   72 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 40 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-06 17:54:10 UTC (rev 427412)
+++ PKGBUILD	2021-11-06 17:54:19 UTC (rev 427413)
@@ -1,32 +0,0 @@
-# Maintainer: Daniel Isenmann <daniel [at] archlinux.org>
-# Contributor: dorphell <dorphell at gmx.net>
-
-pkgname=gc
-pkgver=8.2.0
-pkgrel=1
-pkgdesc="A garbage collector for C and C++"
-arch=('x86_64')
-url="https://www.hboehm.info/gc/"
-license=('GPL')
-depends=('gcc-libs')
-source=(https://github.com/ivmai/bdwgc/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('ff781360bca667f1f95fbfed073e9035f63134cac1bda4f7e4217664a3713c2846f750a3ce92732972c0435c69355b051f6e8eb6f2698b0d48d9107ff960bacf')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr --enable-cplusplus --disable-static
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  make check
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-  sed 's|GC_MALLOC 1L|gc 3|g' doc/gc.man |
-    install -Dm644 /dev/stdin "${pkgdir}/usr/share/man/man3/gc.3"
-}

Copied: gc/repos/extra-x86_64/PKGBUILD (from rev 427412, gc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-06 17:54:19 UTC (rev 427413)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel Isenmann <daniel [at] archlinux.org>
+# Contributor: dorphell <dorphell at gmx.net>
+
+pkgname=gc
+pkgver=8.2.0
+pkgrel=2
+pkgdesc="A garbage collector for C and C++"
+arch=('x86_64')
+url="https://www.hboehm.info/gc/"
+license=('GPL')
+depends=('gcc-libs')
+source=(https://github.com/ivmai/bdwgc/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+        gc-missing-header.patch::https://patch-diff.githubusercontent.com/raw/ivmai/bdwgc/pull/389.patch)
+sha512sums=('ff781360bca667f1f95fbfed073e9035f63134cac1bda4f7e4217664a3713c2846f750a3ce92732972c0435c69355b051f6e8eb6f2698b0d48d9107ff960bacf'
+            'a89d46b6826b90184e1a2724c2a1a57a4a2a215245938500aa7a652bf7eee3e0205c36fbd27e450ac59824c07b16fd38987ea77a33a41eb38878701fb70e0ad9')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 < ../gc-missing-header.patch # Install missing header
+  ./autogen.sh
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr --enable-cplusplus --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  sed 's|GC_MALLOC 1L|gc 3|g' doc/gc.man |
+    install -Dm644 /dev/stdin "${pkgdir}/usr/share/man/man3/gc.3"
+}



More information about the arch-commits mailing list