diff options
author | Ivan Tham <pickfire@riseup.net> | 2017-02-21 00:11:55 +0800 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-02-22 11:25:25 +0000 |
commit | 11a8303416d4855e568bef08640e0b9c0e136406 (patch) | |
tree | 306a127ec577ffe154952ccf42fb9b1a71d8d34c /testing | |
parent | 0f654f54a59f7c5a30baeb055e6f57c60f50fbdd (diff) | |
download | aports-11a8303416d4855e568bef08640e0b9c0e136406.tar.bz2 aports-11a8303416d4855e568bef08640e0b9c0e136406.tar.xz |
testing/extra-cmake-modules: update unmaintained aport to 5.31.0
Diffstat (limited to 'testing')
-rw-r--r-- | testing/extra-cmake-modules/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/extra-cmake-modules/APKBUILD b/testing/extra-cmake-modules/APKBUILD new file mode 100644 index 0000000000..16073341b5 --- /dev/null +++ b/testing/extra-cmake-modules/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: k0r10n <k0r10n.dev@gmail.com> +# Contributor: Ivan Tham <pickfire@riseup.net> +pkgname=extra-cmake-modules +pkgver=5.31.0 +pkgrel=0 +pkgdesc="Extra CMake modules" +url="https://projects.kde.org/projects/kdesupport/extra-cmake-modules" +arch="noarch" +license="custom" +depends="cmake" +makedepends="py-sphinx cmake" +subpackages="${pkgname}-doc" +source="http://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" +builddir="$srcdir"/${pkgname}-${pkgver}/build + +build() { + mkdir -p "$builddir" && cd "$builddir" + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install/fast || return 1 + + install -Dm644 ../COPYING-CMAKE-SCRIPTS \ + "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +sha512sums="3930bdf83b015ddcab4671f75e1e30f3cae7676eb88fa74e0097dd9112d6c56c68891fe69ffa232e61866f9b34ed1db748b5044e7e9c762369ad8940e854f16a extra-cmake-modules-5.31.0.tar.xz" |