blob: 9a1f9cf4bbaa926717f20c272586ccdc1d866380 (
plain)
1 # Description: A multi-platform game programming library for C/C++.
2 # URL: https://liballeg.org/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: alsa-lib glu libidn libpng libvorbis xorg-libxcursor xorg-libxpm xorg-libxxf86dga
5
6 name=allegro4
7 version=4.4.3.1
8 release=1
9 source=(https://github.com/liballeg/allegro5/releases/download/$version/allegro-$version.tar.gz)
10
11 build() {
12 cd allegro-$version
13
14 mkdir build
15 cd build
16
17 cmake .. \
18 -DCMAKE_INSTALL_PREFIX=/usr \
19 -DCMAKE_BUILD_TYPE=Release \
20 -DWANT_DOCS=OFF \
21 -GNinja
22
23 ninja -j ${JOBS:-1}
24 DESTDIR=$PKG ninja install
25
26 install -Dm644 ../misc/allegro.m4 \
27 $PKG/usr/share/aclocal/allegro.m4
28 }
|