contrib/allegro/Pkgfile
2020-05-14 22:36:33 +10:00

21 lines
598 B
Plaintext

# 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.6.0
release=1
source=(https://github.com/liballeg/allegro5/releases/download/$version/$name-$version.tar.gz)
build() {
cmake -S$name-$version -Bbuild -GNinja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DWANT_DOCS_HTML=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --build build --target install
}