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 <[email protected]>
+# Contributor: Ionut Biru <[email protected]>
+# Contributor: Tom Newsom <[email protected]>
+# Contributor: arjan <[email protected]>
+
+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: