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

Jan Steffens heftig at archlinux.org
Sat Mar 13 02:16:10 UTC 2021


    Date: Saturday, March 13, 2021 @ 02:16:08
  Author: heftig
Revision: 889994

3.2.4-2: FS#69946 use depends=(VHBA-MODULE)

Modified:
  cdemu-daemon/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-13 02:10:02 UTC (rev 889993)
+++ PKGBUILD	2021-03-13 02:16:08 UTC (rev 889994)
@@ -5,12 +5,12 @@
 
 pkgname=cdemu-daemon
 pkgver=3.2.4
-pkgrel=1
+pkgrel=2
 pkgdesc="CD/DVD-ROM device emulator daemon"
 arch=(x86_64)
 url="https://cdemu.sourceforge.io/"
 license=(GPL)
-depends=(dbus vhba-module libao 'libmirage>=3.2.0')
+depends=(dbus VHBA-MODULE libao 'libmirage>=3.2.0')
 makedepends=(cmake intltool)
 optdepends=('alsa-lib: to enable the ALSA audio driver'
             'pulseaudio: to enable the PA audio driver')
@@ -29,7 +29,8 @@
 }
 
 build() {
-  cmake -H$pkgname-$pkgver -Bbuild \
+  CFLAGS+=" -fcommon"
+  cmake -S $pkgname-$pkgver -B build \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=/usr/lib \
@@ -39,7 +40,7 @@
 }
 
 package() {
-  DESTDIR="$pkgdir" cmake --build build --target install
+  DESTDIR="$pkgdir" cmake --install build
   echo vhba | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/cdemu.conf"
 }
 



More information about the arch-commits mailing list