diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-12-19 17:50:57 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-12-19 17:51:06 +0000 |
commit | a6a4371293475bea766424885fda3cafbb880955 (patch) | |
tree | 17190413cabb7ce12ccd1b3169baedadc4efdf66 /testing/extra-cmake-modules/APKBUILD | |
parent | 845248e11ee87446dbee1c4b4b01e247d9512598 (diff) | |
download | aports-a6a4371293475bea766424885fda3cafbb880955.tar.bz2 aports-a6a4371293475bea766424885fda3cafbb880955.tar.xz |
testing/extra-cmake-modules: upgrade to 5.41.0 and modernize
Diffstat (limited to 'testing/extra-cmake-modules/APKBUILD')
-rw-r--r-- | testing/extra-cmake-modules/APKBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/testing/extra-cmake-modules/APKBUILD b/testing/extra-cmake-modules/APKBUILD index 83fd8953b1..6bbab58d21 100644 --- a/testing/extra-cmake-modules/APKBUILD +++ b/testing/extra-cmake-modules/APKBUILD @@ -1,7 +1,7 @@ # Contributor: k0r10n <k0r10n.dev@gmail.com> # Contributor: Ivan Tham <pickfire@riseup.net> pkgname=extra-cmake-modules -pkgver=5.39.0 +pkgver=5.41.0 pkgrel=0 pkgdesc="Extra CMake modules" url="https://projects.kde.org/projects/kdesupport/extra-cmake-modules" @@ -9,22 +9,22 @@ arch="noarch" license="custom" depends="cmake" makedepends="py-sphinx cmake" -subpackages="${pkgname}-doc" +subpackages="$pkgname-doc" source="http://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" -builddir="$srcdir"/${pkgname}-${pkgver}/build +builddir="$srcdir/$pkgname-$pkgver/build" build() { mkdir -p "$builddir" && cd "$builddir" - cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF || return 1 - make || return 1 + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install/fast || return 1 + make DESTDIR="$pkgdir" install/fast install -Dm644 ../COPYING-CMAKE-SCRIPTS \ "$pkgdir"/usr/share/licenses/$pkgname/COPYING } -sha512sums="c41df32aa6641824b7e69b001997fa61ab4d4df9aa0b850d8eecb0e434836e35f7c928952771cb2c5258117ac318e199659991619f37ad3ff82744ab66071ece extra-cmake-modules-5.39.0.tar.xz" +sha512sums="034c67ed56ee4f6002ff2f0bfca2d7eb7877180b5aa5cf5eb3babb6e40c0669eb0728f45832bd8250ff304647f9a6555233bff4fdf6eccc9b14b420f4b1c3924 extra-cmake-modules-5.41.0.tar.xz" |