# Maintainer: Bartłomiej Piotrowski # Contributor: Allan McRae # Contributor: judd # NOTE: requires rebuilt with each new gcc version # ALARM: Kevin Mihelich # - noautobuild, !distcc # - removed multilib stuff # - patch for armv7h tests noautobuild=1 pkgname=libtool pkgver=2.4.6+42+gb88cebd5 pkgrel=5 _gccver=9.1.0 pkgdesc='A generic library support script' arch=(x86_64) url='http://www.gnu.org/software/libtool' license=(GPL) groups=(base-devel) depends=(sh tar glibc) makedepends=("gcc>=$_gccver" git help2man) checkdepends=(gcc-fortran) provides=("libltdl=$pkgver") conflicts=(libltdl) replaces=(libltdl) options=('!distcc') _commit=b9b44533fbf7c7752ffd255c3d09cc360e24183b source=(git+https://git.savannah.gnu.org/git/libtool.git#commit=$_commit armv7h-nopic.patch) md5sums=('SKIP' '8a1fdc77814fa5db3fc4d6a888d0cd89') pkgver() { cd libtool git describe --tags | sed 's/-/+/g;s/^v//' } prepare() { cd libtool patch -p1 -i ../armv7h-nopic.patch ./bootstrap } build() { cd libtool ./configure --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/usr/lib /usr/lib32" make } check() { cd libtool make check gl_public_submodule_commit= } package() { cd libtool make DESTDIR="$pkgdir" install }