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

Felix Yan felixonmars at archlinux.org
Tue Feb 16 09:58:51 UTC 2021


    Date: Tuesday, February 16, 2021 @ 09:58:51
  Author: felixonmars
Revision: 408208

archrelease: copy trunk to testing-x86_64

Added:
  libunwind/repos/testing-x86_64/
  libunwind/repos/testing-x86_64/PKGBUILD
    (from rev 408207, libunwind/trunk/PKGBUILD)

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

Copied: libunwind/repos/testing-x86_64/PKGBUILD (from rev 408207, libunwind/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-02-16 09:58:51 UTC (rev 408208)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sébastien Luttringer
+# Contributor: Lawrence Lee <valheru at facticius.net>
+# Contributor: Phillip Marvin <phillip.marvin at gmail.com>
+# Contributor: keystone <phillip.marvin at gmail.com>
+
+pkgname=libunwind
+pkgver=1.5.0
+pkgrel=1
+pkgdesc='Portable and efficient C programming interface (API) to determine the call-chain of a program'
+arch=('x86_64')
+url='https://www.nongnu.org/libunwind/'
+license=('GPL')
+depends=('xz' 'zlib')
+makedepends=('texlive-core')
+source=("https://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
+sha512sums=('1df20ca7a8cee2f2e61294fa9b677e88fec52e9d5a329f88d05c2671c69fa462f6c18808c97ca9ff664ef57292537a844f00b18d142b1938c9da701ca95a4bab'
+            'SKIP')
+validpgpkeys=('5C96BDEAF5F47FB02BD4F6B965D98560914F3F48'  # Arun Sharma
+              '1675C8DA2EF907FB116EB709EC52B396E6874AF2'  # Dave Watson
+              '75D2CFC56CC2E935A4143297015A268A17D55FA4') # Dave Watson
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  # This function is ``supposed'' to fail. Upstream know, but haven't fixed it.
+  make check || :
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list