mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 14:54:37 +08:00
33 lines
777 B
Bash
33 lines
777 B
Bash
|
pkgname=telepathy-morse
|
||
|
pkgver=0.1.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="Telepathy connection manager for Telegram."
|
||
|
arch=('x86_64')
|
||
|
url="http://telepathy.freedesktop.org"
|
||
|
license=('GPL')
|
||
|
depends=('telepathy-qt5' 'telegram-qt')
|
||
|
makedepends=('cmake')
|
||
|
groups=('telepathy')
|
||
|
source=("https://github.com/TelepathyIM/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz")
|
||
|
sha1sums=('f77c42a7c0a02bc8f5d5bf6ba72c907412b1e8f9')
|
||
|
|
||
|
prepare() {
|
||
|
mkdir -p build
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd build
|
||
|
cmake ../${pkgname}-${pkgname}-${pkgver} \
|
||
|
-DCMAKE_PREFIX_PATH="/usr/lib/cmake/TelepathyQt5;/usr/lib/cmake/TelegramQt5" \
|
||
|
-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
|
||
|
}
|