[arch-commits] Commit in kimap2 (3 files)

Antonio Rojas arojas at archlinux.org
Wed Apr 4 21:26:43 UTC 2018


    Date: Wednesday, April 4, 2018 @ 21:26:42
  Author: arojas
Revision: 314286

archrelease: copy trunk to community-x86_64

Added:
  kimap2/repos/
  kimap2/repos/community-x86_64/
  kimap2/repos/community-x86_64/PKGBUILD
    (from rev 314285, kimap2/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: kimap2/repos/community-x86_64/PKGBUILD (from rev 314285, kimap2/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2018-04-04 21:26:42 UTC (rev 314286)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=kimap2
+pkgver=0.2.1
+pkgrel=1
+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=('91a2cc8abb9867dda7024b54d9b352267b75d5420336640ab36d7177e5d3b95b')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_LIBDIR=lib \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list