diff options
author | pingplug | 2016-12-03 11:36:27 +0800 |
---|---|---|
committer | pingplug | 2016-12-03 11:36:27 +0800 |
commit | bd920d0653436a8afc5d7c7e24ef8251236c7808 (patch) | |
tree | ebc9186b15e9ed455b883f86aa013dfaddf1af37 /PKGBUILD | |
parent | 4361b2137d355cec6f59eb84f6bb6d0d5509c5cf (diff) | |
download | aur-bd920d0653436a8afc5d7c7e24ef8251236c7808.tar.gz |
Updated to 7.0.001
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -5,7 +5,7 @@ pkgname=mingw-w64-readline _basever=7.0 -_patchlevel=000 +_patchlevel=001 pkgver=$_basever.$_patchlevel pkgrel=1 pkgdesc="MinGW port of readline for editing typed command lines (mingw-w64)" @@ -25,12 +25,14 @@ fi md5sums=('205b03a87fc83dab653b628c59b9fc91' 'SKIP' - 'e1564909905d0670fca91da3dc4053f7') + 'e1564909905d0670fca91da3dc4053f7' + 'e299384458a4cbefaaac3f30e9cc2bba' + 'SKIP') validpgpkeys=(7C0135FB088AAF6C66C650B9BB5869F064EA74AB) _architectures="i686-w64-mingw32 x86_64-w64-mingw32" -build() { +prepare() { cd "${srcdir}/readline-${_basever}" for (( p=1; p<=$((10#${_patchlevel})); p++ )); do @@ -39,10 +41,14 @@ build() { done msg "applying the patch from MXE project" - patch -Nfp1 -i $srcdir/readline-1.patch + patch -Np1 -i $srcdir/readline-1.patch # Remove RPATH from shared objects (FS#14366) - sed 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf + sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf +} + +build() { + cd "${srcdir}/readline-${_basever}" for _arch in ${_architectures}; do unset LDFLAGS |