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

Antonio Rojas arojas at archlinux.org
Sun Jun 9 11:56:43 UTC 2019


    Date: Sunday, June 9, 2019 @ 11:56:43
  Author: arojas
Revision: 478797

CMAKE_BUILD_TYPE--

Modified:
  kup/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-09 11:56:21 UTC (rev 478796)
+++ PKGBUILD	2019-06-09 11:56:43 UTC (rev 478797)
@@ -4,7 +4,7 @@
 
 pkgname=kup
 pkgver=0.7.3
-pkgrel=2
+pkgrel=3
 pkgdesc="A KDE bup backup software for helping people to keep up-to-date backups"
 arch=(x86_64)
 url="https://www.linux-apps.com/p/1127689/"
@@ -13,17 +13,21 @@
 makedepends=(extra-cmake-modules plasma-framework)
 optdepends=('bup: support for incremental backups'
             'rsync: support for synced backups')
-source=("https://github.com/spersson/Kup/archive/$pkgname-$pkgver.tar.gz")
-sha256sums=('47b97314dd11579a6ecc723de687c9ebe7cafb300d2ce39f2510d36c17de2f3b')
+source=("https://github.com/spersson/Kup/archive/$pkgname-$pkgver.tar.gz"
+        kup-cmake-build-type.patch::"https://patch-diff.githubusercontent.com/raw/spersson/Kup/pull/81.patch")
+sha256sums=('47b97314dd11579a6ecc723de687c9ebe7cafb300d2ce39f2510d36c17de2f3b'
+            '5ba2786dc43436774f24c72ca7abdc887bdf7e739bfe97b71f89c64912441f99')
 
 prepare() {
   mkdir -p build
+
+  cd Kup-$pkgname-$pkgver
+  patch -p1 -i ../kup-cmake-build-type.patch # Fix build when CMAKE_BUILD_TYPE is not specified
 }
 
 build() {
   cd build
   cmake ../Kup-$pkgname-$pkgver \
-    -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=lib \
     -DUSE_SYSTEM_LIBGIT2=ON \



More information about the arch-commits mailing list