aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-22 09:34:32 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-05-18 07:40:21 +0000
commitc48ee8681087a7cc40798f1df8557012a29a7caa (patch)
tree431aa74da7081317d7ff11c42eb6beaf40db78da
parent17b43309cb6fff89f7cbc0ccdc4bd2e14cdd693a (diff)
downloadaports-c48ee8681087a7cc40798f1df8557012a29a7caa.tar.gz
aports-c48ee8681087a7cc40798f1df8557012a29a7caa.tar.bz2
aports-c48ee8681087a7cc40798f1df8557012a29a7caa.tar.xz
community/sfml: move from testing
-rw-r--r--community/sfml/APKBUILD (renamed from testing/sfml/APKBUILD)10
1 files changed, 4 insertions, 6 deletions
diff --git a/testing/sfml/APKBUILD b/community/sfml/APKBUILD
index 30ac5ea91d..95e23dc055 100644
--- a/testing/sfml/APKBUILD
+++ b/community/sfml/APKBUILD
@@ -11,22 +11,20 @@ makedepends="cmake doxygen eudev-dev flac-dev freetype-dev jpeg-dev
libxrandr-dev libxcb-dev openal-soft-dev xcb-util-image zlib-dev"
subpackages="$pkgname-dev $pkgname-doc"
options="!check"
-source="$pkgname-$pkgver.tar.gz::https://github.com/SFML/SFML/archive/$pkgver.tar.gz"
+source="https://github.com/SFML/SFML/archive/$pkgver/sfml-$pkgver.tar.gz"
builddir="$srcdir/SFML-$pkgver"
build() {
- mkdir -p "$builddir"/build
- cd "$builddir"/build
- cmake .. \
+ cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSFML_BUILD_DOC=TRUE \
-DSFML_INSTALL_PKGCONFIG_FILES=TRUE
- make
+ cmake --build build
}
package() {
- make DESTDIR="$pkgdir" -C "$builddir"/build install
+ DESTDIR="$pkgdir" cmake --build build --target install
mkdir -p "$pkgdir"/usr/share/doc
mv "$pkgdir"/usr/share/SFML/doc "$pkgdir"/usr/share/doc/SFML