[arch-commits] Commit in allegro/repos (2 files)
Alexander Rødseth
arodseth at archlinux.org
Sun Aug 16 14:33:49 UTC 2020
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 <xyproto at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: arjan <arjan at archlinux.org>
+
+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"
+}
More information about the arch-commits
mailing list