diff options
author | sl1pkn07 | 2015-08-16 23:20:09 +0200 |
---|---|---|
committer | sl1pkn07 | 2015-08-16 23:20:09 +0200 |
commit | ef0b08165cc84e275d253f7d1900ca9b76059d98 (patch) | |
tree | 9f013554300a548d06eb9c85c6a68dc394e21536 | |
download | aur-ef0b08165cc84e275d253f7d1900ca9b76059d98.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 37 |
3 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9c4628604320 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = libkolabxml-git + pkgdesc = Kolab XML Format Schema Definitions Library.(GIT Version) + pkgver = 1.2.r569.06823bc + pkgrel = 1 + url = https://kolab.org + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + makedepends = cmake + makedepends = boost + makedepends = xsd + makedepends = swig + makedepends = xerces-c + makedepends = boost-libs + conflicts = libkolabxml + source = git+https://git.kolab.org/diffusion/LKX/libkolabxml.git + sha1sums = SKIP + +pkgname = libkolabxml-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..05c6d4d4c97b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..72dde3814e4e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com> +# Contributor: Andrea Scarpino <andrea@archlinux.org> + +pkgname=libkolabxml-git +pkgver=1.2.r569.06823bc +pkgrel=1 +pkgdesc="Kolab XML Format Schema Definitions Library.(GIT Version)" +url='https://kolab.org' +arch=('i686' 'x86_64') +license=('GPL') +makedepends=('git' 'cmake' 'boost' 'xsd' 'swig' 'xerces-c' 'boost-libs') +conflicts=('libkolabxml') +source=('git+https://git.kolab.org/diffusion/LKX/libkolabxml.git') +sha1sums=('SKIP') + +pkgver() { + cd libkolabxml + _ver="$(cat CMakeLists.txt | grep -m2 -e Libkolabxml_VERSION_MAJOR -e Libkolabxml_VERSION_MINOR | grep -o "[[:digit:]]*" | paste -sd'.')" + echo "${_ver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../libkolabxml \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_TESTS=OFF + make +} + +package() { + make -C build DESTDIR="${pkgdir}" install +} |