diff --git a/allegro4/.signature b/allegro4/.signature index dd815f1c5..8b7b4fa25 100644 --- a/allegro4/.signature +++ b/allegro4/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3xS500/VfnePkwHEiyV4yRpNmPsEeOugeqbf0ENT2QQVBLSNifOS4PzOEkw9Yph8uqUAVAvbp7W/BLHG0jP6HgM= -SHA256 (Pkgfile) = 6a28eb4760f4e0477645f1ff2730a831f876d08c017f4a5b32756e02e116f269 +RWSagIOpLGJF345s5uAwCg0AFWO8SakKSMzPvRh8RGX1Vd/nir4vuIk9k4+otLAPhsIxwDdHwZiQrYPMlQkHWmuk5g4tnwMIzw8= +SHA256 (Pkgfile) = 3049840b78cc66fa9298414eedba3dc15c1ee133e405922a0f02371a56bd467c SHA256 (.footprint) = 81a4898120838c1756471886424cde34bc3c043bab5d9a475be2dd3cd3a8ad7e SHA256 (allegro-4.4.3.1.tar.gz) = ec19dbc9a021244582b4819b3583ee594b50141f9fcf6944a4ed8069cbf8d4d4 diff --git a/allegro4/Pkgfile b/allegro4/Pkgfile index 9a1f9cf4b..187d22c66 100644 --- a/allegro4/Pkgfile +++ b/allegro4/Pkgfile @@ -9,20 +9,18 @@ release=1 source=(https://github.com/liballeg/allegro5/releases/download/$version/allegro-$version.tar.gz) build() { - cd allegro-$version - - mkdir build - cd build - - cmake .. \ + cmake -Sallegro-$version -Bbuild -GNinja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ - -DWANT_DOCS=OFF \ - -GNinja + -DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \ + -DCMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \ + -Wno-dev - ninja -j ${JOBS:-1} - DESTDIR=$PKG ninja install + cmake --build build -j ${JOBS:-1} + DESTDIR=$PKG cmake --install build - install -Dm644 ../misc/allegro.m4 \ + install -Dm644 allegro-$version/misc/allegro.m4 \ $PKG/usr/share/aclocal/allegro.m4 + + rm -r $PKG/usr/doc }