pkgname=libtool pkgver=2.5.4 pkgdesc='A generic library support script' homepage='https://www.gnu.org/software/libtool' license=('LGPL-2.0-or-later WITH Libtool-exception') sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=("22e0a29df8af5fdde276ea3a7d351d30") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { ./configure --prefix=/usr make } src_check() { make -k check } src_install() { make DESTDIR="${pkgdir}" install rm -fv "${pkgdir}/usr/lib/libltdl.a" }