[arch-commits] Commit in cdemu-client/repos/community-any (3 files)
Jan Steffens
heftig at archlinux.org
Wed Jul 11 00:51:48 UTC 2018
Date: Wednesday, July 11, 2018 @ 00:51:48
Author: heftig
Revision: 356657
archrelease: copy trunk to community-any
Added:
cdemu-client/repos/community-any/PKGBUILD
(from rev 356656, cdemu-client/trunk/PKGBUILD)
Deleted:
cdemu-client/repos/community-any/PKGBUILD
cdemu-client/repos/community-any/fixes.diff
------------+
PKGBUILD | 72 +++++++++++++++++++++++++++--------------------------------
fixes.diff | 14 -----------
2 files changed, 34 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-11 00:51:28 UTC (rev 356656)
+++ PKGBUILD 2018-07-11 00:51:48 UTC (rev 356657)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Mateusz Herych <heniekk at gmail.com>
-# Contributor: Charles Lindsay <charles at chaoslizard.org>
-
-pkgname=cdemu-client
-pkgver=3.1.0
-pkgrel=1
-pkgdesc="Simple command-line client for controlling cdemu-daemon"
-arch=(any)
-url="http://cdemu.sourceforge.net/"
-license=(GPL)
-depends=(python-gobject cdemu-daemon)
-makedepends=(intltool cmake)
-conflicts=('cdemu')
-source=("http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2"
- fixes.diff)
-sha256sums=('336a078b0b1f70de81d7ee92ee3e3a1e1957843accc4e90a876aeef28648d868'
- '908f919e779832eb05013cb0e3ecb49795afddaa4aa8cb946ec78c3218acf534')
-
-prepare() {
- mkdir build
- cd $pkgname-$pkgver
- patch -Np2 -i ../fixes.diff
-}
-
-build() {
- cd build
- cmake ../$pkgname-$pkgver \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
-}
Copied: cdemu-client/repos/community-any/PKGBUILD (from rev 356656, cdemu-client/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-11 00:51:48 UTC (rev 356657)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+# Contributor: Charles Lindsay <charles at chaoslizard.org>
+
+pkgname=cdemu-client
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="Simple command-line client for controlling cdemu-daemon"
+arch=(any)
+url="http://cdemu.sourceforge.net/"
+license=(GPL)
+depends=(python-gobject cdemu-daemon)
+makedepends=(intltool cmake ninja bash-completion)
+conflicts=('cdemu')
+source=("https://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2")
+sha256sums=('a9fea8c54433b6827ea23e13cb10b931609854370afd99a69bea8a750f4a9fff')
+
+prepare() {
+ mkdir build
+ cd $pkgname-$pkgver
+}
+
+build() {
+ cd build
+ cmake -G Ninja ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build .
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --build build --target install
+}
Deleted: fixes.diff
===================================================================
--- fixes.diff 2018-07-11 00:51:28 UTC (rev 356656)
+++ fixes.diff 2018-07-11 00:51:48 UTC (rev 356657)
@@ -1,14 +0,0 @@
-diff --git i/cdemu-client/CMakeLists.txt w/cdemu-client/CMakeLists.txt
-index cdcff25232886440..5296229538cd64bf 100644
---- i/cdemu-client/CMakeLists.txt
-+++ w/cdemu-client/CMakeLists.txt
-@@ -38,7 +38,8 @@ install (
-
- install (
- FILES data/cdemu-bash-completion.sh
-- DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/bash_completion.d
-+ DESTINATION ${CMAKE_INSTALL_DATADIR}/bash-completion/completions
-+ RENAME cdemu
- )
-
- install (
More information about the arch-commits
mailing list