From 5baf5fe247bbbf8dfbad60f990c208704fdb5bb0 Mon Sep 17 00:00:00 2001 From: David Beauchamp Date: Wed, 18 Aug 2021 17:59:15 -0400 Subject: [PATCH] community/allegro to 5.2.7.0-2 --- community/allegro/PKGBUILD | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/community/allegro/PKGBUILD b/community/allegro/PKGBUILD index c1b375998..401b32cb8 100644 --- a/community/allegro/PKGBUILD +++ b/community/allegro/PKGBUILD @@ -9,29 +9,27 @@ pkgname=allegro pkgver=5.2.7.0 -pkgrel=1 +pkgrel=2 pkgdesc='Portable library mainly aimed at video game and multimedia programming' arch=(x86_64) url='https://liballeg.org/' license=(custom) -makedepends=(cmake glu libtheora mesa-libgl opusfile xorgproto) -depends=(dumb gtk2 jack libgl libpulse libtheora libwebp libxcursor libxpm opusfile physfs) +makedepends=(cmake glu libtheora mesa-libgl ninja opusfile xorgproto) +depends=(dumb gtk3 jack libgl libpulse libtheora libwebp libxpm opusfile physfs) source=("https://github.com/liballeg/allegro5/releases/download/$pkgver/allegro-$pkgver.tar.gz") -sha256sums=('c1e3b319d99cb453b39d393572ba2b9f3de42a96de424aee7d4a1abceaaa970c') +b2sums=('9cc588a42d461ce06db94c1dd57642a2e9445c4930fcc164f2da57edfb463552a279a5e50f46740561a88c974c96605bb09fcc596e7bc6afb5e30b18ff7b74d5') build() { - mkdir -p build - cd build - cmake ../$pkgname-$pkgver \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DWANT_DOCS_HTML=OFF - make + cmake -B build -S $pkgname-$pkgver \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D WANT_DOCS_HTML=OFF \ + -G Ninja + ninja -C build } package() { - cd build - make DESTDIR="$pkgdir" install - install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE.txt" \ + DESTDIR="$pkgdir" ninja -C build install + install -Dm644 "$pkgname-$pkgver/LICENSE.txt" \ -t "$pkgdir/usr/share/licenses/$pkgname" # Fix man path #mv -v -f "$pkgdir/usr/man" "$pkgdir/usr/share/man"