From ca32b846944f1f11039f986cb4d71b4762f60e57 Mon Sep 17 00:00:00 2001 From: Chaoting Liu Date: Tue, 17 May 2016 13:14:36 +0100 Subject: [PATCH] add telegram telepathy modules, for future reference only, no build --- telegram-qt-git/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++ telepathy-morse-git/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 telegram-qt-git/PKGBUILD create mode 100644 telepathy-morse-git/PKGBUILD diff --git a/telegram-qt-git/PKGBUILD b/telegram-qt-git/PKGBUILD new file mode 100644 index 000000000..0732196d5 --- /dev/null +++ b/telegram-qt-git/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Antonio Rojas + +_gitname=telegram-qt +pkgname=telegram-qt-git +pkgver=r477.3dd83d4 +pkgrel=1 +pkgdesc="Qt bindings for the Telegram protocol" +arch=(i686 x86_64) +url="https://projects.kde.org/telegram-qt/" +license=(GPL) +depends=(zlib qt5-base) +makedepends=(cmake git) +provides=$_gitname +conflicts=$_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_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} diff --git a/telepathy-morse-git/PKGBUILD b/telepathy-morse-git/PKGBUILD new file mode 100644 index 000000000..136c4dbdf --- /dev/null +++ b/telepathy-morse-git/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Antonio Rojas + +_gitname=telepathy-morse +pkgname=telepathy-morse-git +pkgver=r93.8e701b5 +pkgrel=1 +pkgdesc="Telepathy Connection Manager for the Telegram network" +arch=(i686 x86_64) +url="https://projects.kde.org/telepathy-morse/" +license=(GPL) +depends=(telepathy-qt5 telegram-qt) +makedepends=(cmake git) +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 ../telepathy-morse \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_LIBEXECDIR=lib/telepathy \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} +