Date: Monday, January 28, 2019 @ 09:20:55 Author: lcarlier Revision: 428301
archrelease: copy trunk to multilib-x86_64 Added: lib32-libunwind/repos/multilib-x86_64/PKGBUILD (from rev 428300, lib32-libunwind/trunk/PKGBUILD) Deleted: lib32-libunwind/repos/multilib-x86_64/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-01-28 09:20:47 UTC (rev 428300) +++ PKGBUILD 2019-01-28 09:20:55 UTC (rev 428301) @@ -1,49 +0,0 @@ -# Maintainer: Laurent Carlier <lordhea...@gmail.com> -# Contributor: Lone_Wolf <lonewolf at xs4all dot nl> -# Contributor: Moritz Lipp <m...@pwmt.org> - -_pkgbasename=libunwind -pkgname=lib32-libunwind -pkgver=1.2.1 -pkgrel=2 -pkgdesc="Portable and efficient C programming interface (API) to determine the call-chain of a program (32-bit)" -arch=('x86_64') -url="http://www.nongnu.org/libunwind/" -license=('GPL') -makedepends=('gcc-multilib') -depends=('lib32-gcc-libs' 'libunwind' 'lib32-xz') -source=(http://download.savannah.gnu.org/releases/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz{,.sig}) -sha512sums=('af7c280d2a963779a4a2711887618bc96383011e4e5d52e4085aa7fb351e55e357468f6ff85e66a216f1c6826538f498335a917a5970575c93be74c96316319b' - 'SKIP') -validpgpkeys=('1675C8DA2EF907FB116EB709EC52B396E6874AF2') # Dave Watson <davejwat...@fb.com> , project admin for unwind - -build() { - export CC="gcc -m32" - export CXX="g++ -m32" - - cd $_pkgbasename-$pkgver - ./configure \ - --build=i686-pc-linux-gnu \ - --host=i686-pc-linux-gnu \ - --prefix=/usr \ - --libdir=/usr/lib32 \ - --disable-documentation - make - -} - -check() { - cd "$srcdir/$_pkgbasename-$pkgver" - # This function is ``supposed'' to fail. Upstream know, but haven't fixed it. - make check || : -} - -package_lib32-libunwind() { - cd $_pkgbasename-$pkgver - make DESTDIR="$pkgdir" install - - # this build only provides multilib binary for x86 on x86_64 , remove all includes for other architectures - find $pkgdir/usr/include/*.h -not -name "*x86*" -exec rm -f {} \; -} - -# vim:set ts=2 sw=2 et: Copied: lib32-libunwind/repos/multilib-x86_64/PKGBUILD (from rev 428300, lib32-libunwind/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-01-28 09:20:55 UTC (rev 428301) @@ -0,0 +1,49 @@ +# Maintainer: Laurent Carlier <lordhea...@gmail.com> +# Contributor: Lone_Wolf <lonewolf at xs4all dot nl> +# Contributor: Moritz Lipp <m...@pwmt.org> + +_pkgbasename=libunwind +pkgname=lib32-libunwind +pkgver=1.3.1 +pkgrel=1 +pkgdesc="Portable and efficient C programming interface (API) to determine the call-chain of a program (32-bit)" +arch=('x86_64') +url="http://www.nongnu.org/libunwind/" +license=('GPL') +makedepends=('gcc-multilib') +depends=('lib32-gcc-libs' 'libunwind' 'lib32-xz') +source=(http://download.savannah.gnu.org/releases/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz{,.sig}) +sha512sums=('3110d0aed4f5c781ef1ff72c9337e59793c02c42066209a4ac44f50eff1c0b0e02a5ff9f66891e62016de14af065a47975763970b839b700c0ff2e9f415c8def' + 'SKIP') +validpgpkeys=('1675C8DA2EF907FB116EB709EC52B396E6874AF2') # Dave Watson <davejwat...@fb.com> , project admin for unwind + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + + cd $_pkgbasename-$pkgver + ./configure \ + --build=i686-pc-linux-gnu \ + --host=i686-pc-linux-gnu \ + --prefix=/usr \ + --libdir=/usr/lib32 \ + --disable-documentation + make + +} + +check() { + cd "$srcdir/$_pkgbasename-$pkgver" + # This function is ``supposed'' to fail. Upstream know, but haven't fixed it. + make check || : +} + +package_lib32-libunwind() { + cd $_pkgbasename-$pkgver + make DESTDIR="$pkgdir" install + + # this build only provides multilib binary for x86 on x86_64 , remove all includes for other architectures + find $pkgdir/usr/include/*.h -not -name "*x86*" -exec rm -f {} \; +} + +# vim:set ts=2 sw=2 et: