aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2023-07-01 06:22:05 +0000
committerpsykose <alice@ayaya.dev>2023-07-01 08:22:05 +0200
commit2b7e06b2c1c76931be2b9b11c639d8260b227f4f (patch)
tree6c66bb54ff169666bdf4fe4bb82c44636e8446df
parentc15a0b84a7563112489a5c862c272b53764fad57 (diff)
testing/csfml: upgrade to 2.5.2
-rw-r--r--testing/csfml/APKBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/testing/csfml/APKBUILD b/testing/csfml/APKBUILD
index b557d1854db..6bb5f8093b5 100644
--- a/testing/csfml/APKBUILD
+++ b/testing/csfml/APKBUILD
@@ -1,34 +1,34 @@
# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
pkgname=csfml
-pkgver=2.5.1
+pkgver=2.5.2
pkgrel=0
pkgdesc="C bindings for SFML"
url="https://www.sfml-dev.org/"
arch="all"
license="Zlib"
-makedepends="cmake doxygen sfml-dev"
+makedepends="cmake doxygen samurai sfml-dev"
subpackages="$pkgname-dev $pkgname-doc"
-options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/SFML/CSFML/archive/$pkgver.tar.gz"
-
builddir="$srcdir/CSFML-$pkgver"
+options="!check"
+
build() {
- cmake . \
+ cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCSFML_BUILD_DOC=TRUE \
-DCSFML_LINK_SFML_STATICALLY=FALSE \
-DSFML_DIR=/usr/share/SFML/cmake/Modules
- make
+ cmake --build build
}
package() {
- make DESTDIR="$pkgdir" -C "$builddir" install
+ DESTDIR="$pkgdir" cmake --install build
mkdir -p "$pkgdir"/usr/share/doc
mv "$pkgdir"/usr/share/CSFML/doc "$pkgdir"/usr/share/doc/CSFML
}
sha512sums="
-353baf9879d1c96c04761c3d734822f35fea2b420e7c1b880caef56fabd34d9b10a31772cd3e5bcb86e3c50d6c4552aa69a0351e3d29cb4156a3f1758e7b7fc2 csfml-2.5.1.tar.gz
+d651b42e777647d748edf8d2cc40e6df9b0e3fe0f9af5f5c84e9d62ac5bdf6e7e0ff4bb037ee81b59e0bdec544ad05e3b503a4555f03bfa6292a80c6188c12dc csfml-2.5.2.tar.gz
"