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

Antonio Rojas arojas at archlinux.org
Fri Mar 26 08:20:33 UTC 2021


    Date: Friday, March 26, 2021 @ 08:20:32
  Author: arojas
Revision: 904463

Fix mame-tools dependencies, move man pages where they belong

Modified:
  mame/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-26 07:06:57 UTC (rev 904462)
+++ PKGBUILD	2021-03-26 08:20:32 UTC (rev 904463)
@@ -6,7 +6,7 @@
 pkgbase=mame
 pkgname=(mame mame-tools)
 pkgver=0.229
-pkgrel=2
+pkgrel=3
 pkgdesc='Port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support'
 url="https://mamedev.org/"
 license=(GPL2)
@@ -76,9 +76,7 @@
   install -dm0755 "$pkgdir"/usr/share/doc
   cp -a docs "$pkgdir"/usr/share/doc/$pkgname
   rm -r "$pkgdir"/usr/share/doc/$pkgname/man
-  install -d "$pkgdir"/usr/share/man/man{1,6}
-  install -m644 docs/man/*.1* "$pkgdir"/usr/share/man/man1/
-  install -m644 docs/man/*.6* "$pkgdir"/usr/share/man/man6/
+  install -Dm644 docs/man/*.6* -t "$pkgdir"/usr/share/man/man6/
 
   # install desktop file and icon
   install -Dm644 "$srcdir"/mame.desktop -t "$pkgdir"/usr/share/applications
@@ -87,7 +85,7 @@
 
 package_mame-tools() {
   pkgdesc='Port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support (tools)'
-  optdepends=('flac: for ldverify' 'sdl2: for testkeys' 'libutf8proc: for unidasm')
+  depends=(sdl2 libutf8proc flac)
 
   cd mame-mame${pkgver/./}
   for _i in castool chdman floptool imgtool jedutil ldresample ldverify nltool nlwav pngcmp regrep romcmp \
@@ -95,4 +93,6 @@
     install -Dm755 $_i -t "$pkgdir"/usr/bin
   done
   mv "$pkgdir"/usr/bin/{,mame-}split # Fix conflicts
+
+  install -Dm644 docs/man/*.1* -t "$pkgdir"/usr/share/man/man1/
 }



More information about the arch-commits mailing list