[arch-commits] Commit in kimap2/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 16:01:49 UTC 2020
Date: Tuesday, July 7, 2020 @ 16:01:48
Author: felixonmars
Revision: 659079
archrelease: copy trunk to community-staging-x86_64
Added:
kimap2/repos/community-staging-x86_64/
kimap2/repos/community-staging-x86_64/PKGBUILD
(from rev 659077, kimap2/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: kimap2/repos/community-staging-x86_64/PKGBUILD (from rev 659077, kimap2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 16:01:48 UTC (rev 659079)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=kimap2
+pkgver=0.3.0
+pkgrel=2
+pkgdesc="Job-based API for interacting with IMAP servers"
+arch=(x86_64)
+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')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list