add telegram telepathy modules, for future reference only, no build

This commit is contained in:
Chaoting Liu 2016-05-17 13:14:36 +01:00
parent f897f42ec1
commit ca32b84694
2 changed files with 78 additions and 0 deletions

39
telegram-qt-git/PKGBUILD Normal file
View File

@ -0,0 +1,39 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
_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
}

View File

@ -0,0 +1,39 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
_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
}