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

Anatol Pomozov anatolik at archlinux.org
Tue Sep 24 17:51:31 UTC 2019


    Date: Tuesday, September 24, 2019 @ 17:51:30
  Author: anatolik
Revision: 363356

archrelease: copy trunk to testing-x86_64

Added:
  gc/repos/testing-x86_64/
  gc/repos/testing-x86_64/PKGBUILD
    (from rev 363355, gc/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: gc/repos/testing-x86_64/PKGBUILD (from rev 363355, gc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-09-24 17:51:30 UTC (rev 363356)
@@ -0,0 +1,36 @@
+# Maintainer: Daniel Isenmann <daniel [at] archlinux.org>
+# Contributor: dorphell <dorphell at gmx.net>
+
+pkgname=gc
+pkgver=8.0.4
+pkgrel=1
+pkgdesc="A garbage collector for C and C++"
+arch=('x86_64')
+url="https://www.hboehm.info/gc/"
+license=('GPL')
+depends=('gcc-libs' 'libatomic_ops')
+source=(https://github.com/ivmai/bdwgc/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('57ccca15c6e50048d306a30de06c1a844f36103a84c2d1c17cbccbbc0001e17915488baec79737449982da99ce5d14ce527176afae9ae153cbbb5a19d986366e')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+}
+
+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