[arch-commits] Commit in allegro/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Sun Jul 22 18:38:59 UTC 2018


    Date: Sunday, July 22, 2018 @ 18:38:59
  Author: arodseth
Revision: 362855

upgpkg: allegro 5.2.4-2

Modified:
  allegro/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-22 17:50:55 UTC (rev 362854)
+++ PKGBUILD	2018-07-22 18:38:59 UTC (rev 362855)
@@ -1,5 +1,5 @@
 # $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# 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>
@@ -6,13 +6,15 @@
 
 pkgname=allegro
 pkgver=5.2.4
-pkgrel=1
+pkgrel=2
 pkgdesc='Portable library mainly aimed at video game and multimedia programming'
 arch=('x86_64')
 url='http://liballeg.org/'
 license=('custom')
-makedepends=('cmake' 'git' 'glu' 'libtheora' 'mesa-libgl' 'ninja' 'opusfile')
-depends=('dumb' 'gtk2' 'jack' 'libgl' 'libpulse' 'libtheora' 'libxpm' 'libxxf86dga' 'opusfile' 'physfs')
+makedepends=('cmake' 'git' 'glu' 'libtheora' 'mesa-libgl' 'ninja' 'opusfile'
+             'pandoc')
+depends=('dumb' 'gtk2' 'jack' 'libgl' 'libpulse' 'libtheora' 'libwebp' 'libxpm'
+         'libxxf86dga' 'opusfile' 'physfs')
 source=("git+https://github.com/liballeg/${pkgname}${pkgver%%.*}#tag=$pkgver.0")
 md5sums=('SKIP')
 
@@ -20,11 +22,10 @@
   mkdir -p build
   cd build
 
-  cmake "../${pkgname}${pkgver%%.*}" \
+  cmake ../"${pkgname}${pkgver%%.*}" \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DWANT_DOCS=OFF \
-    -DWANT_PHYSFS=ON \
+    -DWANT_DOCS_HTML=OFF \
     -G Ninja
   ninja
 }
@@ -34,6 +35,9 @@
 
   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



More information about the arch-commits mailing list