summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2015-06-08 22:45:12 +0200
committerAntonio Rojas2015-06-08 22:45:12 +0200
commit9f8b89eb31a0ad185bc83b0d36ed9cf8e694ade2 (patch)
treeae1dff47b45036f08fd15f4ae792ecf12af11729
downloadaur-9f8b89eb31a0ad185bc83b0d36ed9cf8e694ade2.tar.gz
Initial import
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD40
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3b168565c59
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = kimap-git
+ pkgdesc = Job-based API for interacting with IMAP servers
+ pkgver = r581.cfab821
+ pkgrel = 1
+ url = https://projects.kde.org/projects/kde/pim/kimap
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = extra-cmake-modules-git
+ makedepends = git
+ makedepends = python
+ makedepends = boost
+ depends = kmime-git
+ provides = kimap
+ conflicts = kimap
+ source = git://anongit.kde.org/kimap.git
+ md5sums = SKIP
+
+pkgname = kimap-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..765aef50c62
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Antonio Rojas <arojas@archlinux.org>
+
+_gitname=kimap
+pkgname=$_gitname-git
+pkgver=r581.cfab821
+pkgrel=1
+pkgdesc="Job-based API for interacting with IMAP servers"
+arch=('i686' 'x86_64')
+url="https://projects.kde.org/projects/kde/pim/$_gitname"
+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')
+
+pkgver() {
+ cd $_gitname
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ 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
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}