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

Jan Steffens heftig at archlinux.org
Sun Mar 3 02:50:40 UTC 2019


    Date: Sunday, March 3, 2019 @ 02:50:40
  Author: heftig
Revision: 437422

3.2.2-1

Modified:
  cdemu-daemon/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-03 02:48:01 UTC (rev 437421)
+++ PKGBUILD	2019-03-03 02:50:40 UTC (rev 437422)
@@ -4,8 +4,8 @@
 # Contributor: Charles Lindsay <charles at chaoslizard.org>
 
 pkgname=cdemu-daemon
-pkgver=3.2.1
-pkgrel=2
+pkgver=3.2.2
+pkgrel=1
 pkgdesc="CD/DVD-ROM device emulator daemon"
 arch=(x86_64)
 url="http://cdemu.sourceforge.net/"
@@ -18,11 +18,10 @@
 install=cdemu-daemon.install
 source=("https://downloads.sourceforge.net/cdemu/$pkgname/$pkgname-$pkgver.tar.bz2"
         0001-Patch-system-daemon-for-Arch-friendliness.patch)
-sha256sums=('842d889094be45fb913ee6649cba8f12e6190e83497764536bc63d1c3fc3389c'
+sha256sums=('2b8934ad09d5a1c844202d5e2020193dd5bb00112732559c23594b0761f63542'
             '233dc79359e53da3a0df880984b5ea6033756070cfe84183f39c602274f4b2d6')
 
 prepare() {
-  mkdir build
   cd $pkgname-$pkgver
 
   # It's disabled by default. Should we even ship it?
@@ -30,14 +29,13 @@
 }
 
 build() {
-  cd build
-  cmake -G Ninja ../$pkgname-$pkgver \
+  cmake -H$pkgname-$pkgver -Bbuild -GNinja \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=/usr/lib \
     -DCMAKE_INSTALL_SYSCONFDIR=/etc \
     -DCMAKE_INSTALL_LIBEXECDIR=lib/$pkgname
-  cmake --build .
+  cmake --build build
 }
 
 package() {


More information about the arch-commits mailing list