mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:57:14 +08:00
33 lines
711 B
Bash
33 lines
711 B
Bash
# Note: this is a dependency for the telepathy-morse package,
|
|
# which handles Telegram in Telepathy.
|
|
|
|
pkgname=telegram-qt
|
|
pkgver=0.1.0
|
|
pkgrel=1
|
|
pkgdesc="Qt bindings for the Telegram protocol"
|
|
arch=('x86_64')
|
|
url="https://github.com/Kaffeine/telegram-qt"
|
|
license=('GPL')
|
|
depends=('qt5-base')
|
|
makedepends=('cmake')
|
|
source=("https://github.com/Kaffeine/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('fcc498a8c2655ee0d9877b1784e76cec')
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../${pkgname}-${pkgname}-${pkgver} \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|