summaryrefslogtreecommitdiff
path: root/sfml/Pkgfile
blob: aa6ebd87768800a8a1ec9dcd6ce76380b3fe68b7 (plain)
    1 # Description: A simple, fast, cross-platform, and object-oriented multimedia API.
    2 # URL: https://www.sfml-dev.org/
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: flac freetype libjpeg-turbo libvorbis mesa3d openal util-linux xorg-libsm xorg-xcb-util-image
    5 
    6 name=sfml
    7 version=2.5.1
    8 release=1
    9 source=(https://www.sfml-dev.org/files/SFML-$version-sources.zip)
   10 
   11 build() {
   12 	cd SFML-$version
   13 
   14 	install -d build
   15 	cd build
   16 
   17 	cmake .. \
   18 		-DCMAKE_BUILD_TYPE='Release' \
   19 		-DCMAKE_INSTALL_PREFIX='/usr' \
   20 		-DSFML_INSTALL_PKGCONFIG_FILES=1 \
   21 		-DSFML_USE_SYSTEM_DEPS=ON \
   22 		-DSFML_BUILD_EXAMPLES=0 \
   23 		-DSFML_BUILD_DOC=0 \
   24 
   25 
   26 	make
   27 	make DESTDIR=$PKG install
   28 
   29 	rm -r $PKG/usr/share/SFML/{license,readme}.md
   30 }

Generated by cgit