core/libunwind/PKGBUILD
2018-09-18 15:55:30 +02:00

38 lines
1.1 KiB
Bash

# Contributions from Arch:
# Maintainer: Sébastien Luttringer
# Contributor: Lawrence Lee <valheru@facticius.net>
# Contributor: Phillip Marvin <phillip.marvin@gmail.com>
# Contributor: keystone <phillip.marvin@gmail.com>
pkgname=libunwind
pkgver=1.2.1
pkgrel=1
pkgdesc='Portable and efficient C programming interface (API) to determine the call-chain of a program'
arch=('x86_64')
url='http://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})
sha256sums=('3f3ecb90e28cbe53fba7a4a27ccce7aad188d3210bb1964a923a731a27a75acb'
'SKIP')
validpgpkeys=('5C96BDEAF5F47FB02BD4F6B965D98560914F3F48' # Arun Sharma
'1675C8DA2EF907FB116EB709EC52B396E6874AF2') # Dave Watson
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
check() {
cd $pkgname-$pkgver
# This function is ``supposed'' to fail. Upstream know, but haven't fixed it.
make check || return 0
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir/" install
}