[arch-commits] Commit in allegro/repos (2 files)
Date: Sunday, August 16, 2020 @ 14:33:48 Author: arodseth Revision: 681553 archrelease: copy trunk to community-staging-x86_64 Added: allegro/repos/community-staging-x86_64/ allegro/repos/community-staging-x86_64/PKGBUILD (from rev 681552, allegro/trunk/PKGBUILD) --+ PKGBUILD | 35 +++ 1 file changed, 35 insertions(+) Copied: allegro/repos/community-staging-x86_64/PKGBUILD (from rev 681552, allegro/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-08-16 14:33:48 UTC (rev 681553) @@ -0,0 +1,35 @@ +# Maintainer: Alexander F. Rødseth +# Contributor: Ionut Biru +# Contributor: Tom Newsom +# Contributor: arjan + +pkgname=allegro +pkgver=5.2.6.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 opusfile pandoc xorgproto) +depends=(dumb gtk2 jack libgl libpulse libtheora libwebp libxpm 'opusfile>=0.12' physfs) +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_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" +}
[arch-commits] Commit in allegro/repos (2 files)
Date: Thursday, December 19, 2019 @ 20:23:56 Author: andyrtr Revision: 538433 archrelease: copy trunk to community-testing-x86_64 Added: allegro/repos/community-testing-x86_64/ allegro/repos/community-testing-x86_64/PKGBUILD (from rev 538432, allegro/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: allegro/repos/community-testing-x86_64/PKGBUILD (from rev 538432, allegro/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2019-12-19 20:23:56 UTC (rev 538433) @@ -0,0 +1,39 @@ +# Maintainer: Alexander F. Rødseth +# Contributor: Ionut Biru +# Contributor: Tom Newsom +# Contributor: arjan + +pkgname=allegro +pkgver=5.2.5 +pkgrel=2 +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 pandoc 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') + +build() { + mkdir -p build + cd build + cmake "../${pkgname}${pkgver%%.*}" \ +-DCMAKE_BUILD_TYPE=Release \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DWANT_DOCS_HTML=OFF \ +-G Ninja + ninja +} + +package() { + DESTDIR="$pkgdir" ninja -C build install + install -Dm644 "${pkgname}${pkgver%%.*}/LICENSE.txt" \ +"$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # Fix man path + mv -v -f "$pkgdir/usr/man" "$pkgdir/usr/share/man" +} + +# getver: liballeg.org/a5docs/trunk +# vim: ts=2 sw=2 et: