diff --git a/community/gnuplot/APKBUILD b/community/gnuplot/APKBUILD index a12277649e899c46adc3f3872b02f81772cbcc44..9414f0abd77fb385435d9aaad1cd7a1492d660e2 100644 --- a/community/gnuplot/APKBUILD +++ b/community/gnuplot/APKBUILD @@ -1,7 +1,8 @@ # Contributor: prspkt <prspkt@protonmail.com> -# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Celeste <cielesti@protonmail.com> pkgname=gnuplot -pkgver=5.4.10 +pkgver=6.0.0 pkgrel=0 pkgdesc="Utility for plotting graphs" url="http://www.gnuplot.info/" @@ -10,6 +11,7 @@ license="MIT" makedepends=" cairo-dev gd-dev + libcerf-dev libjpeg-turbo-dev libpng-dev lua5.3-dev @@ -43,5 +45,5 @@ package() { } sha512sums=" -fe5226a243dad62e8617d820764dc5923e76a51a68c58a666a699110f5b5be0f5e759e0586e923472a59ca6d1b30d1093d7a65e9c1d3a36fcd33a95df36ab89f gnuplot-5.4.10.tar.gz +520b9a74ac64e4d0b0f89dda55f77b27026e60b7a9208e994d321299481d0aa1f8adc91e61682534112bf739311a3d312c5abe08c12ec9bc2a7a6319b53872ea gnuplot-6.0.0.tar.gz " diff --git a/community/libcerf/APKBUILD b/community/libcerf/APKBUILD new file mode 100644 index 0000000000000000000000000000000000000000..05000a2d2a3ce2f88058b88e4146afb8e8cd3786 --- /dev/null +++ b/community/libcerf/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Celeste <cielesti@protonmail.com> +# Maintainer: Celeste <cielesti@protonmail.com> +pkgname=libcerf +pkgver=2.4 +pkgrel=0 +pkgdesc="Self-contained complex error function library" +url="https://jugit.fz-juelich.de/mlz/libcerf/" +arch="all" +license="MIT" +makedepends="cmake perl samurai" +subpackages="$pkgname-dev $pkgname-doc" +source="https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v$pkgver/libcerf-v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-v$pkgver" + +build() { + cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=ON \ + -DCMAKE_BUILD_TYPE=None + cmake --build build +} + +check() { + ctest --test-dir build --output-on-failure +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +} + +sha512sums=" +0e78a18c498705d5efa26e504932192c4d49485cc3f971235c86c4dc6ca7498063f33e188a55f4c939e25d0d2a2f215b22ef11d3776d80a4a7486ea62fad1d73 libcerf-v2.4.tar.gz +"