diff options
-rw-r--r-- | abs/core/libtool/PKGBUILD | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/abs/core/libtool/PKGBUILD b/abs/core/libtool/PKGBUILD index ce5c272..493c799 100644 --- a/abs/core/libtool/PKGBUILD +++ b/abs/core/libtool/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 168333 2012-10-08 22:50:22Z allan $ +# $Id$ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> @@ -6,15 +6,17 @@ pkgname=('libtool' 'libltdl') pkgver=2.4.2 -pkgrel=7 +_gccver=4.9.2 +pkgrel=15 pkgdesc="A generic library support script" arch=('i686' 'x86_64') url="http://www.gnu.org/software/libtool" license=('GPL') -options=('!libtool') +makedepends=("gcc=${_gccver}") source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz{,.sig}) md5sums=('2ec8997e0c07249eb4cbd072417d70fe' '1e6ba57420c82c663c85e745d11c7eed') +validpgpkeys=('CFE2BE707B538E8B26757D84151308092983D606') build() { cd ${srcdir}/${pkgbase}-${pkgver} @@ -28,7 +30,7 @@ check() { } package_libtool() { - depends=('sh' "libltdl=$pkgver" 'tar' 'gcc=4.7.2') + depends=('sh' "libltdl=$pkgver" 'tar' "gcc=${_gccver}") groups=('base-devel') install=libtool.install @@ -36,7 +38,7 @@ package_libtool() { make DESTDIR=${pkgdir} install-binSCRIPTS install-man install-info \ install-data-local - rm -rf ${pkgdir}/usr/share/libtool/libltdl/ + rm -r ${pkgdir}/usr/share/libtool/libltdl/ } package_libltdl() { @@ -45,5 +47,5 @@ package_libltdl() { cd ${srcdir}/${pkgbase}-${pkgver} make DESTDIR=${pkgdir} install-libLTLIBRARIES install-includeHEADERS \ install-ltdlincludeHEADERS install-data-local - rm -rf ${pkgdir}/usr/share/{aclocal,libtool/config} + rm -r ${pkgdir}/usr/share/{aclocal,libtool/config} } |