[arch-commits] Commit in allegro/trunk (PKGBUILD)
Alexander Rødseth
arodseth at gemini.archlinux.org
Wed Aug 18 19:51:16 UTC 2021
Date: Wednesday, August 18, 2021 @ 19:51:16
Author: arodseth
Revision: 1003682
Use gtk3, ref FS#71827
Modified:
allegro/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-18 19:36:55 UTC (rev 1003681)
+++ PKGBUILD 2021-08-18 19:51:16 UTC (rev 1003682)
@@ -5,29 +5,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 pandoc xorgproto)
-depends=(dumb gtk2 jack libgl libpulse libtheora libwebp libxcursor libxpm opusfile physfs)
+makedepends=(cmake glu libtheora mesa-libgl ninja opusfile pandoc 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"
More information about the arch-commits
mailing list