[arch-commits] Commit in kimap2/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Jul 19 06:46:09 UTC 2021
Date: Monday, July 19, 2021 @ 06:46:09
Author: arojas
Revision: 978580
Update to 0.4.0
Modified:
kimap2/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++----------------
1 file changed, 9 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-19 06:33:18 UTC (rev 978579)
+++ PKGBUILD 2021-07-19 06:46:09 UTC (rev 978580)
@@ -1,31 +1,24 @@
# Maintainer: Antonio Rojas <arojas at archlinux.org>
pkgname=kimap2
-pkgver=0.3.0
-pkgrel=2
-pkgdesc="Job-based API for interacting with IMAP servers"
+pkgver=0.4.0
+pkgrel=1
+pkgdesc='Job-based API for interacting with IMAP servers'
arch=(x86_64)
-url="https://community.kde.org/KDE_PIM"
+url='https://community.kde.org/KDE_PIM'
license=(LGPL)
depends=(kcoreaddons kmime)
makedepends=(extra-cmake-modules)
#source=("https://download.kde.org/unstable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
-source=($pkgname-$pkgver.tar.gz::"https://github.com/KDE/kimap2/archive/v$pkgver.tar.gz")
-sha256sums=('421b733f201a3a06e38e147d52434a276ad2b0b2714e6ff6541ea3895d9cd2fe')
+source=(https://invent.kde.org/pim/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
+sha256sums=('32f9d47234a3aca6b87de3f4bc46c57b37c7f14396a6cf0d9da5a648aee9f5c4')
-prepare() {
- mkdir -p build
-}
-
build() {
- cd build
- cmake ../$pkgname-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
+ cmake -B build -S $pkgname-v$pkgver \
-DBUILD_TESTING=OFF
- make
+ cmake --build build
}
package() {
- cd build
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install build
}
More information about the arch-commits
mailing list