[arch-commits] Commit in kasync/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Jul 19 06:57:46 UTC 2021
Date: Monday, July 19, 2021 @ 06:57:46
Author: arojas
Revision: 978586
archrelease: copy trunk to community-x86_64
Added:
kasync/repos/community-x86_64/PKGBUILD
(from rev 978585, kasync/trunk/PKGBUILD)
Deleted:
kasync/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 55 +++++++++++++++++++++++++------------------------------
1 file changed, 25 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-19 06:57:36 UTC (rev 978585)
+++ PKGBUILD 2021-07-19 06:57:46 UTC (rev 978586)
@@ -1,30 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Jameson Pugh <imntreal at gmail.com>
-
-pkgname=kasync
-pkgver=0.3.0
-pkgrel=2
-pkgdesc='A C++ library for controlling asynchronous tasks'
-arch=(x86_64)
-url='https://community.kde.org/KDE_PIM'
-license=(GPL)
-depends=(qt5-base)
-makedepends=(extra-cmake-modules)
-source=("https://download.kde.org/unstable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
-sha256sums=('08916f0878f4cac650b89e5bf04c49f1bf1fcd690c58310e4849350ddc6a3b58')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- cmake ../$pkgname-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
-}
Copied: kasync/repos/community-x86_64/PKGBUILD (from rev 978585, kasync/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-19 06:57:46 UTC (rev 978586)
@@ -0,0 +1,25 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Jameson Pugh <imntreal at gmail.com>
+
+pkgname=kasync
+pkgver=0.3.0
+pkgrel=3
+pkgdesc='A C++ library for controlling asynchronous tasks'
+arch=(x86_64)
+url='https://community.kde.org/KDE_PIM'
+license=(GPL)
+depends=(qt5-base)
+makedepends=(extra-cmake-modules)
+#source=("https://download.kde.org/unstable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
+source=(https://invent.kde.org/libraries/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
+sha256sums=('4ab0fe3a770c5237296486a638d9b3ad5431fb1ec9acf67de3b0215d62514862')
+
+build() {
+ cmake -B build -S $pkgname-v$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
More information about the arch-commits
mailing list