Date: Saturday, May 16, 2020 @ 20:54:47
Author: felixonmars
Revision: 384850
archrelease: copy trunk to staging-x86_64
Added:
libunwind/repos/staging-x86_64/
libunwind/repos/staging-x86_64/PKGBUILD
(from rev 384849, libunwind/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: libunwind/repos/staging-x86_64/PKGBUILD (from rev 384849,
libunwind/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-16 20:54:47 UTC (rev 384850)
@@ -0,0 +1,40 @@
+# 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.3.1
+pkgrel=2
+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=('3110d0aed4f5c781ef1ff72c9337e59793c02c42066209a4ac44f50eff1c0b0e02a5ff9f66891e62016de14af065a47975763970b839b700c0ff2e9f415c8def'
+ 'SKIP')
+validpgpkeys=('5C96BDEAF5F47FB02BD4F6B965D98560914F3F48' # Arun Sharma
+ '1675C8DA2EF907FB116EB709EC52B396E6874AF2') # 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: