[arch-commits] Commit in libtool/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Thu Aug 17 10:47:00 UTC 2017
Date: Thursday, August 17, 2017 @ 10:46:59
Author: bpiotrowski
Revision: 302332
2.4.6+40+g6ca5e224-1: bump to latest git commit
Modified:
libtool/trunk/PKGBUILD
----------+
PKGBUILD | 49 ++++++++++++++++++++++++++++++-------------------
1 file changed, 30 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-17 10:46:10 UTC (rev 302331)
+++ PKGBUILD 2017-08-17 10:46:59 UTC (rev 302332)
@@ -1,40 +1,51 @@
# $Id$
-# Maintainer: Allan McRae <allan at archlinux.org>
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
# Contributor: judd <jvinet at zeroflux.org>
# NOTE: requires rebuilt with each new gcc version
pkgname=libtool
-pkgver=2.4.6
-pkgrel=8
-_gccver=7.1.1
-pkgdesc="A generic library support script"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/libtool"
-license=('GPL')
-groups=('base-devel')
-depends=('sh' 'tar' 'glibc')
-makedepends=("gcc=$_gccver")
+pkgver=2.4.6+40+g6ca5e224
+pkgrel=1
+_gccver=7.2.0
+pkgdesc='A generic library support script'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/libtool"'
+license=(GPL)
+groups=(base-devel)
+depends=(sh tar glibc)
+makedepends=("gcc=$_gccver" git help2man)
provides=("libltdl=$pkgver" "libtool-multilib=$pkgver")
conflicts=('libltdl' 'libtool-multilib')
replaces=('libltdl' 'libtool-multilib')
-source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz{,.sig})
-md5sums=('1bfb9b923f2c1339b4d2ce1807064aa5'
- 'SKIP')
-validpgpkeys=('CFE2BE707B538E8B26757D84151308092983D606') # Gary Vaughan
+_commit=6ca5e224bc7bcc114a9ba2cf5dcf0fbf0ec40c9f
+source=(git+https://git.savannah.gnu.org/git/libtool.git#commit=$_commit)
+md5sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g;s/^v//'
+}
+
+prepare() {
+ cd $pkgname
+ ./bootstrap
+}
+
build() {
- cd ${srcdir}/${pkgbase}-${pkgver}
+ cd $pkgname
./configure --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/usr/lib /usr/lib32"
make
}
check() {
- cd ${srcdir}/${pkgbase}-${pkgver}
+ cd $pkgname
make check
}
package() {
- cd ${srcdir}/${pkgbase}-${pkgver}
- make DESTDIR=${pkgdir} install
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list