diff options
author | jo.mei | 2016-08-24 14:24:38 +0200 |
---|---|---|
committer | jo.mei | 2016-08-24 14:24:38 +0200 |
commit | d70d399565c3808f38915ceb84e3239e6bef4333 (patch) | |
tree | 9c58349e952987af734c15be3eee9b33057a0036 | |
download | aur-d70d399565c3808f38915ceb84e3239e6bef4333.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..01d0429a108d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = akonadi-ews-git + pkgdesc = Resource agent for Microsoft Exchange using Exchange Web Services (EWS) protocol + pkgver = r280.53e2b80 + pkgrel = 1 + url = https://github.com/KrissN/akonadi-ews/ + arch = i686 + arch = x86_64 + license = GPL + makedepends = extra-cmake-modules + makedepends = boost + makedepends = kdesignerplugin + depends = kcalcore + depends = akonadi-mime + depends = hicolor-icon-theme + depends = kcontacts + provides = akonadi-ews + conflicts = akonadi-ews + source = git://github.com/KrissN/akonadi-ews.git + sha256sums = SKIP + +pkgname = akonadi-ews-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..afa16e99345d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: jo.mei <jo.mei_at_posteo.de> + +_gitname=akonadi-ews +pkgname=$_gitname-git +pkgver=r280.53e2b80 +pkgrel=1 +pkgdesc="Resource agent for Microsoft Exchange using Exchange Web Services (EWS) protocol" +arch=('i686' 'x86_64') +url="https://github.com/KrissN/$_gitname/" +license=('GPL') +depends=('kcalcore' 'akonadi-mime' 'hicolor-icon-theme' 'kcontacts') +makedepends=('extra-cmake-modules' 'boost' 'kdesignerplugin') +conflicts=("$_gitname") +provides=("$_gitname") +source=("git://github.com/KrissN/$_gitname.git") +sha256sums=('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_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} + +# vim:set ts=2 sw=2 et: |