From 228797c623b9b4ae26d97ba6966c0b90c7e98a46 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Wed, 11 Mar 2020 12:15:43 +0000 Subject: [PATCH] community/allegro to 5.2.6.0-1 --- community/allegro/PKGBUILD | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/community/allegro/PKGBUILD b/community/allegro/PKGBUILD index b8d91ebc2..3649c8f81 100644 --- a/community/allegro/PKGBUILD +++ b/community/allegro/PKGBUILD @@ -8,36 +8,31 @@ # - comment fixing man path pkgname=allegro -pkgver=5.2.5 -pkgrel=2 +pkgver=5.2.6.0 +pkgrel=1 pkgdesc='Portable library mainly aimed at video game and multimedia programming' arch=(x86_64) url='https://liballeg.org/' license=(custom) -makedepends=(cmake git glu libtheora mesa-libgl ninja opusfile xorgproto) +makedepends=(cmake glu libtheora mesa-libgl opusfile xorgproto) depends=(dumb gtk2 jack libgl libpulse libtheora libwebp libxpm opusfile physfs) -source=("git+https://github.com/liballeg/${pkgname}${pkgver%%.*}#tag=$pkgver.0") -md5sums=('SKIP') +source=("https://github.com/liballeg/allegro5/releases/download/$pkgver/allegro-$pkgver.tar.gz") +sha256sums=('5de8189ec051e1865f359654f86ec68e2a12a94edd00ad06d1106caa5ff27763') build() { mkdir -p build cd build - cmake "../${pkgname}${pkgver%%.*}" \ - -DCMAKE_BUILD_TYPE=Release \ + cmake ../$pkgname-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DWANT_DOCS_HTML=OFF \ - -G Ninja - ninja + -DWANT_DOCS_HTML=OFF + make } package() { - DESTDIR="$pkgdir" ninja -C build install - install -Dm644 "${pkgname}${pkgver%%.*}/LICENSE.txt" \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + cd build + make DESTDIR="$pkgdir" install + install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname # Fix man path #mv -v -f "$pkgdir/usr/man" "$pkgdir/usr/share/man" } - -# getver: liballeg.org/a5docs/trunk -# vim: ts=2 sw=2 et: