summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGoliathLabs2020-05-27 18:18:44 +0200
committerGoliathLabs2020-05-27 18:18:44 +0200
commitc12444a20bda2eb9abd0a19d077214f274be66f1 (patch)
tree2e4942c3ac13a24d2d098778c6f955e7fe0cb1d4
parent9f8b89eb31a0ad185bc83b0d36ed9cf8e694ade2 (diff)
downloadaur-c12444a20bda2eb9abd0a19d077214f274be66f1.tar.gz
Updated: PKGBUILD
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD42
2 files changed, 30 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3b168565c59..f6a013e2b52 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,19 @@
pkgbase = kimap-git
- pkgdesc = Job-based API for interacting with IMAP servers
- pkgver = r581.cfab821
+ pkgdesc = Job-based API for interacting with IMAP servers (Git)
+ pkgver = r980.183349c
pkgrel = 1
- url = https://projects.kde.org/projects/kde/pim/kimap
+ url = https://kontact.kde.org
arch = i686
arch = x86_64
license = LGPL
- makedepends = extra-cmake-modules-git
+ makedepends = extra-cmake-modules
makedepends = git
- makedepends = python
- makedepends = boost
- depends = kmime-git
+ depends = kmime
+ depends = kio
provides = kimap
conflicts = kimap
- source = git://anongit.kde.org/kimap.git
- md5sums = SKIP
+ source = git+https://github.com/KDE/kimap.git
+ sha256sums = SKIP
pkgname = kimap-git
diff --git a/PKGBUILD b/PKGBUILD
index 765aef50c62..72aa9122775 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,40 +1,42 @@
-# Maintainer: Antonio Rojas <arojas@archlinux.org>
+# Maintainer:
+# Contributor: Felix Golatofski <contact@xdfr.de>
+# Contributor: Antonio Rojas <arojas@archlinux.org>
-_gitname=kimap
-pkgname=$_gitname-git
-pkgver=r581.cfab821
+_pkgname=kimap
+pkgname=$_pkgname-git
+pkgver=r980.183349c
pkgrel=1
-pkgdesc="Job-based API for interacting with IMAP servers"
+pkgdesc="Job-based API for interacting with IMAP servers (Git)"
arch=('i686' 'x86_64')
-url="https://projects.kde.org/projects/kde/pim/$_gitname"
+url="https://kontact.kde.org"
license=('LGPL')
-depends=('kmime-git')
-makedepends=('extra-cmake-modules-git' 'git' 'python' 'boost')
-conflicts=("$_gitname")
-provides=("$_gitname")
-source=("git://anongit.kde.org/$_gitname.git")
-md5sums=('SKIP')
+depends=(kmime kio)
+makedepends=(extra-cmake-modules git)
+conflicts=("$_pkgname")
+provides=("$_pkgname")
+source=("git+https://github.com/KDE/$_pkgname.git")
+sha256sums=('SKIP')
pkgver() {
- cd $_gitname
+ cd $srcdir/$_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
+ cd $srcdir/$_pkgname
mkdir -p build
}
build() {
- cd build
- cmake ../$_gitname \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ cd $srcdir/$_pkgname/build
+ cmake ../ \
+ -DBUILD_TESTING=OFF \
+ -DBUILD_QCH=ON
make
}
package() {
- cd build
+ cd $srcdir/$_pkgname/build
make DESTDIR="$pkgdir" install
+ install -Dm644 ../COPYING.LIB "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}