Date: Thursday, December 19, 2019 @ 20:25:54 Author: andyrtr Revision: 538435
archrelease: copy trunk to community-testing-x86_64 Added: allegro4/repos/community-testing-x86_64/ allegro4/repos/community-testing-x86_64/LICENSE (from rev 538434, allegro4/trunk/LICENSE) allegro4/repos/community-testing-x86_64/PKGBUILD (from rev 538434, allegro4/trunk/PKGBUILD) ----------+ LICENSE | 26 ++++++++++++++++++++++++++ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) Copied: allegro4/repos/community-testing-x86_64/LICENSE (from rev 538434, allegro4/trunk/LICENSE) =================================================================== --- community-testing-x86_64/LICENSE (rev 0) +++ community-testing-x86_64/LICENSE 2019-12-19 20:25:54 UTC (rev 538435) @@ -0,0 +1,26 @@ +=================================== +============ Copyright ============ +=================================== + + Allegro is gift-ware. It was created by a number of people working in + cooperation, and is given to you freely as a gift. You may use, modify, + redistribute, and generally hack it about in any way you like, and you do + not have to give us anything in return. However, if you like this product + you are encouraged to thank us by making a return gift to the Allegro + community. This could be by writing an add-on package, providing a useful + bug report, making an improvement to the library, or perhaps just + releasing the sources of your program so that other people can learn from + them. If you redistribute parts of this code or make a game using it, it + would be nice if you mentioned Allegro somewhere in the credits, but you + are not required to do this. We trust you not to abuse our generosity. + + Disclaimer: + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + Copied: allegro4/repos/community-testing-x86_64/PKGBUILD (from rev 538434, allegro4/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2019-12-19 20:25:54 UTC (rev 538435) @@ -0,0 +1,39 @@ +# 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=allegro4 +pkgver=4.4.3.1 +pkgrel=2 +pkgdesc='Portable library aimed at video game and multimedia programming (legacy version)' +arch=(x86_64) +url='https://liballeg.org/' +license=(custom) +depends=(jack libxcursor libxpm libxxf86vm) +makedepends=(cmake glu libpng mesa ninja) +options=(staticlibs) +source=("https://github.com/liballeg/allegro5/releases/download/$pkgver/allegro-$pkgver.tar.gz" + LICENSE) +sha256sums=('ec19dbc9a021244582b4819b3583ee594b50141f9fcf6944a4ed8069cbf8d4d4' + '76b9cd52eab572495e8b3b64313d8e40c0359135491e981321d15c3e707ba41a') + +build() { + mkdir -p build + cd build + cmake "$srcdir/allegro-$pkgver" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DWANT_DOCS=OFF \ + -GNinja + ninja +} + +package() { + DESTDIR="$pkgdir" ninja -C build install + install -Dm644 "allegro-$pkgver/misc/allegro.m4" \ + "$pkgdir/usr/share/aclocal/allegro.m4" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim: ts=2 sw=2 et: