Date: Wednesday, August 18, 2021 @ 19:51:21 Author: arodseth Revision: 1003683
archrelease: copy trunk to community-x86_64 Added: allegro/repos/community-x86_64/PKGBUILD (from rev 1003682, allegro/trunk/PKGBUILD) Deleted: allegro/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 66 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 32 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-18 19:51:16 UTC (rev 1003682) +++ PKGBUILD 2021-08-18 19:51:21 UTC (rev 1003683) @@ -1,34 +0,0 @@ -# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> -# Contributor: Ionut Biru <ib...@archlinux.org> -# Contributor: Tom Newsom <jeeps...@gmx.co.uk> -# Contributor: arjan <ar...@archlinux.org> - -pkgname=allegro -pkgver=5.2.7.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 glu libtheora mesa-libgl opusfile pandoc xorgproto) -depends=(dumb gtk2 jack libgl libpulse libtheora libwebp libxcursor libxpm opusfile physfs) -source=("https://github.com/liballeg/allegro5/releases/download/$pkgver/allegro-$pkgver.tar.gz") -sha256sums=('c1e3b319d99cb453b39d393572ba2b9f3de42a96de424aee7d4a1abceaaa970c') - -build() { - mkdir -p build - cd build - cmake ../$pkgname-$pkgver \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DWANT_DOCS_HTML=OFF - make -} - -package() { - 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" -} Copied: allegro/repos/community-x86_64/PKGBUILD (from rev 1003682, allegro/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-18 19:51:21 UTC (rev 1003683) @@ -0,0 +1,32 @@ +# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Contributor: Ionut Biru <ib...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> +# Contributor: arjan <ar...@archlinux.org> + +pkgname=allegro +pkgver=5.2.7.0 +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 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") +b2sums=('9cc588a42d461ce06db94c1dd57642a2e9445c4930fcc164f2da57edfb463552a279a5e50f46740561a88c974c96605bb09fcc596e7bc6afb5e30b18ff7b74d5') + +build() { + cmake -B build -S $pkgname-$pkgver \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D WANT_DOCS_HTML=OFF \ + -G Ninja + ninja -C build +} + +package() { + 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" +}