diff options
author | Alexey Andreyev | 2019-02-25 02:43:23 +0300 |
---|---|---|
committer | Alexey Andreyev | 2019-02-25 02:43:23 +0300 |
commit | 56903c38771b0930906f8945b40e147851d7f985 (patch) | |
tree | 044669e2f31b994bb8e73e6d73d3b9b7b357aec1 | |
download | aur-56903c38771b0930906f8945b40e147851d7f985.tar.gz |
new version
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 47 |
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ecad8250e81a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = telepathy-brain-im-git + pkgdesc = Telepathy IM client + pkgver = r13.bc31484 + pkgrel = 1 + url = https://telepathy.freedesktop.org/ + arch = i686 + arch = x86_64 + arch = armv7h + arch = aarch64 + license = GPL + makedepends = cmake + makedepends = git + depends = telepathy-qt + provides = telepathy-brain-im + conflicts = telepathy-brain-im + source = git+https://github.com/TelepathyIM/brain-im + md5sums = SKIP + +pkgname = telepathy-brain-im-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..16ed8e7c2d3e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Alexey Andreyev <aa13q@ya.ru> + +_gitname=brain-im +pkgname=telepathy-brain-im-git +pkgver=r13.bc31484 +pkgrel=1 +pkgdesc="Telepathy IM client" +arch=(i686 x86_64 armv7h aarch64) +url="https://telepathy.freedesktop.org/" +license=(GPL) +depends=('telepathy-qt') +makedepends=(cmake git) +provides=(telepathy-brain-im) +conflicts=(telepathy-brain-im) +source=("git+https://github.com/TelepathyIM/$_gitname") +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 \ + -DENABLE_QML_CLIENT=TRUE \ + -DENABLE_QML=TRUE \ + -DINSTALL_QML_IMPORT_DIR=lib/qt/qml \ + -DUSE_TELEPATHY=TRUE \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_LIBEXECDIR=lib/telepathy \ + -DCMAKE_BUILD_TYPE=Release \ + -DQT_VERSION_MAJOR=5 + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install + mkdir -p "$pkgdir"/usr/bin + cp "examples/qmlclient/$_gitname" "$pkgdir"/usr/bin +} |