Commit ea5e2b77 authored by Daniel Sabogal's avatar Daniel Sabogal

testing/csfml: new aport

https://www.sfml-dev.org/
C bindings for SFML
parent ce23ad24
# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
pkgname=csfml
pkgver=2.4
pkgrel=0
pkgdesc="C bindings for SFML"
url="https://www.sfml-dev.org/"
arch="all"
license="zlib"
depends=""
makedepends="cmake doxygen 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"
build() {
cd "$builddir"
cmake . \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCSFML_BUILD_DOC=TRUE \
-DCSFML_LINK_SFML_STATICALLY=FALSE \
-DSFML_DIR=/usr/share/SFML/cmake/Modules
make
}
package() {
make DESTDIR="$pkgdir" -C "$builddir" install
mkdir -p "$pkgdir"/usr/share/doc
mv "$pkgdir"/usr/share/CSFML/doc "$pkgdir"/usr/share/doc/CSFML
}
sha512sums="6a194c2640002065219c6c562e5c3f41a3174d91d268c75609d6cd8f18e7f10fc33aa057b7d1aefcd63747448e551874b306eff816f579a965965d5195da988f csfml-2.4.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment