diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-11-29 14:18:10 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-11-29 14:18:10 +0000 |
commit | e1b927c6949de401ce0d0fe5d5836d6e1ea7a684 (patch) | |
tree | 096b318ae983308992edfcf00e666e7d9554c5ec /testing/speedcrunch | |
parent | 41b927f7849ef34885e9afe49211324932905adb (diff) | |
download | aports-e1b927c6949de401ce0d0fe5d5836d6e1ea7a684.tar.bz2 aports-e1b927c6949de401ce0d0fe5d5836d6e1ea7a684.tar.xz |
testing/speedcrunch: new aport. Fixes #8200
Diffstat (limited to 'testing/speedcrunch')
-rw-r--r-- | testing/speedcrunch/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/speedcrunch/APKBUILD b/testing/speedcrunch/APKBUILD new file mode 100644 index 0000000000..1cb2ecb9c7 --- /dev/null +++ b/testing/speedcrunch/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=speedcrunch +pkgver=0.12 +pkgrel=0 +pkgdesc="SpeedCrunch is a high-precision scientific calculator." +url="http://www.speedcrunch.org/" +arch="all" +license="GPL" +makedepends="cmake py-sphinx py-sphinx-theme-quark + qt5-qtbase-dev qt5-qttools-dev libxkbcommon-dev" +source="https://bitbucket.org/heldercorreia/speedcrunch/get/release-0.12.0.tar.bz2" +builddir="$srcdir/heldercorreia-speedcrunch-ea93b21f9498" + +prepare() { + cd "$builddir" + mkdir -p build +} + +build() { + cd "$builddir"/build + cmake ../src \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DREBUILD_MANUAL=off + make +} + +check() { + cd "$builddir"/build + make test +} + +package() { + cd "$builddir"/build + make DESTDIR="$pkgdir" install +} + +sha512sums="b41f147f2530735af2fad0ecef6047459baed03904ec6d8097a3f21d7d200c2d89beda77676ea1ff762c5c164cd7b639cae84942f61c869acd77aa380c80f141 release-0.12.0.tar.bz2" |