# Description: A multi-platform game programming library for C/C++. # URL: https://liballeg.org/ # Maintainer: Danny Rawlins, crux at romster dot me # Depends on: flac glu gtk libtheora libwebp openal opus physfs xorg-libxi xorg-libxpm name=allegro version=5.2.5.0 release=1 source=(https://github.com/liballeg/allegro5/releases/download/$version/$name-$version.tar.gz) build() { cd $name-$version mkdir build cd build cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DWANT_DOCS_HTML=OFF \ -G Ninja ninja -j ${JOBS:-1} DESTDIR=$PKG ninja install }