diff options
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 9 insertions, 18 deletions
@@ -1,6 +1,6 @@ pkgbase = mingw-w64-extra-cmake-modules pkgdesc = Extra modules and scripts for CMake (mingw-w64) - pkgver = 5.48.0 + pkgver = 5.102.0 pkgrel = 1 url = https://community.kde.org/Frameworks arch = any @@ -10,15 +10,14 @@ pkgbase = mingw-w64-extra-cmake-modules options = staticlibs options = !strip options = !buildflags - source = http://download.kde.org/stable/frameworks/5.48/extra-cmake-modules-5.48.0.tar.xz - source = http://download.kde.org/stable/frameworks/5.48/extra-cmake-modules-5.48.0.tar.xz.sig + source = http://download.kde.org/stable/frameworks/5.102/extra-cmake-modules-5.102.0.tar.xz + source = http://download.kde.org/stable/frameworks/5.102/extra-cmake-modules-5.102.0.tar.xz.sig source = set-AUTOSTATICPLUGINS.patch source = 05aa27dc0e14dab407379a4d22f895e9eff13cc0.patch validpgpkeys = 53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB - sha256sums = fc5b7a9dedb4f6a91db17482578c33f1ec55f11791c592ee431f6d9898ede598 + sha256sums = f259aeb5a8e046ee2a0e658645f3af6d3e42145d3ae576f305b2b6e24a297f9b sha256sums = SKIP sha256sums = 30bdcedab402c69ea0db3460f5a23cbd226a5cd1e12b13926b8a65df773e14a0 sha256sums = 7e44cf56a8274c8166eaf02e60c2d34e5048992a7e3c8309b998b762a394e909 pkgname = mingw-w64-extra-cmake-modules - @@ -1,5 +1,5 @@ pkgname=mingw-w64-extra-cmake-modules -pkgver=5.48.0 +pkgver=5.102.0 pkgrel=1 arch=(any) pkgdesc="Extra modules and scripts for CMake (mingw-w64)" @@ -11,7 +11,7 @@ url="https://community.kde.org/Frameworks" source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/extra-cmake-modules-${pkgver}.tar.xz"{,.sig} "set-AUTOSTATICPLUGINS.patch" "05aa27dc0e14dab407379a4d22f895e9eff13cc0.patch") -sha256sums=('fc5b7a9dedb4f6a91db17482578c33f1ec55f11791c592ee431f6d9898ede598' +sha256sums=('f259aeb5a8e046ee2a0e658645f3af6d3e42145d3ae576f305b2b6e24a297f9b' 'SKIP' '30bdcedab402c69ea0db3460f5a23cbd226a5cd1e12b13926b8a65df773e14a0' '7e44cf56a8274c8166eaf02e60c2d34e5048992a7e3c8309b998b762a394e909') @@ -19,20 +19,12 @@ validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde _architectures="i686-w64-mingw32 x86_64-w64-mingw32" -prepare() { - cd extra-cmake-modules-$pkgver - sed -e 's|/usr/bin/env python|/usr/bin/env python2|' -i find-modules/*.py - patch -p1 -i "${srcdir}"/set-AUTOSTATICPLUGINS.patch - patch -p1 -i "$srcdir"/05aa27dc0e14dab407379a4d22f895e9eff13cc0.patch -} - build() { - cd extra-cmake-modules-$pkgver - for _arch in ${_architectures}; do + cd extra-cmake-modules-$pkgver + for _arch in ${_architectures}; do unset LDFLAGS mkdir "build-${_arch}" && pushd "build-${_arch}" ${_arch}-cmake \ - -DCMAKE_BUILD_TYPE=Release \ -DBUILD_HTML_DOCS=OFF \ .. make @@ -41,7 +33,7 @@ build() { } package() { - for _arch in ${_architectures}; do + for _arch in ${_architectures}; do cd "${srcdir}/${pkgname#mingw-w64-}-$pkgver/build-${_arch}" make DESTDIR="$pkgdir" install done |