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

Antonio Rojas arojas at archlinux.org
Thu Jul 30 08:27:51 UTC 2020


    Date: Thursday, July 30, 2020 @ 08:27:51
  Author: arojas
Revision: 665883

Update to 3.12.0

Modified:
  copyq/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-30 08:27:27 UTC (rev 665882)
+++ PKGBUILD	2020-07-30 08:27:51 UTC (rev 665883)
@@ -3,7 +3,7 @@
 # Contributor: Karol "Kenji Takahashi" Woźniak <kenji.sx>
 
 pkgname=copyq
-pkgver=3.11.1
+pkgver=3.12.0
 pkgrel=1
 pkgdesc="Clipboard manager with searchable and editable history"
 url="https://github.com/hluk/${pkgname}"
@@ -12,17 +12,14 @@
 license=('GPL3')
 arch=('x86_64')
 source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('a0b0a7d90aa67a48b4ab94b23bfa16da5602de80ef82862451bac619ede3d4bb')
+sha256sums=('7de74c4159514725f9de458a32d6109b3183b108c183d9a977e7b67ce5bbb1ee')
 
 build() {
-    cd "CopyQ-${pkgver}"
-    cmake -DWITH_WEBKIT=0 -DCMAKE_INSTALL_PREFIX=/usr .
-    make
+    cmake -B build -S CopyQ-$pkgver \
+      -DWITH_WEBKIT=0 -DCMAKE_INSTALL_PREFIX=/usr
+    cmake --build build
 }
 
 package() {
-    cd "CopyQ-${pkgver}"
-    make DESTDIR="${pkgdir}" install
+    DESTDIR="${pkgdir}" cmake --install build
 }
-
-# vim:set ts=4 sw=4 et:



More information about the arch-commits mailing list