Date: Saturday, January 23, 2021 @ 20:51:15
Author: felixonmars
Revision: 406671
archrelease: copy trunk to testing-x86_64
Added:
libunwind/repos/testing-x86_64/
libunwind/repos/testing-x86_64/PKGBUILD
(from rev 406670, libunwind/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: libunwind/repos/testing-x86_64/PKGBUILD (from rev 406670,
libunwind/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-01-23 20:51:15 UTC (rev 406671)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Sébastien Luttringer
+# Contributor: Lawrence Lee <[email protected]>
+# Contributor: Phillip Marvin <[email protected]>
+# Contributor: keystone <[email protected]>
+
+pkgname=libunwind
+pkgver=1.4.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=('glibc' 'xz')
+makedepends=('texlive-core')
+source=("https://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
+sha512sums=('60bce1e840f071d3a48cfa8e2acff988977956f659c5c04ce83f00751348fbbeddbfc54e8c9bd6ebc9073423ca5ee1816655dc5aa59fefd0a8edc9c3f7f3b913'
+ 'SKIP')
+validpgpkeys=('5C96BDEAF5F47FB02BD4F6B965D98560914F3F48' # Arun Sharma
+ '1675C8DA2EF907FB116EB709EC52B396E6874AF2' # Dave Watson
+ '75D2CFC56CC2E935A4143297015A268A17D55FA4') # Dave Watson
+
+build() {
+ cd $pkgname-$pkgver
+ CFLAGS+=' -fcommon' #
https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+ ./configure --prefix=/usr
+ 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: