mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
da42687561
- libqtelegram-ae: switch to git build - aseman-qt-tools: switch to git build - telegramqml: switch to git build - cutegram: switch to git build, use binary mode, mute error code - Known Bug: 1. 2FA not working 2. Fonts are fixed and in tiny size, no UI for configuration
35 lines
934 B
Bash
35 lines
934 B
Bash
pkgname=telegramqml
|
|
_pkgname=TelegramQML
|
|
pkgver=2.0.0.17.g7987725
|
|
pkgrel=1
|
|
pkgdesc="Telegram API tools for QtQml and Qml"
|
|
arch=('x86_64')
|
|
url="https://github.com/Aseman-Land/TelegramQML"
|
|
license=('GPL')
|
|
depends=('qt5-base' 'qt5-declarative' 'qt5-multimedia'
|
|
'qt5-webkit' 'qt5-imageformats' 'qt5-graphicaleffects'
|
|
'qt5-quickcontrols' 'libqtelegram-ae')
|
|
source=("$pkgname"::"git+https://github.com/Aseman-Land/TelegramQML.git#commit=7987725b1ed2753ebe60921d7461d021cd47b88c")
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd "${srcdir}/${pkgname}"
|
|
git describe --long | sed 's/\([^-]*-g\)/\1/;s/-/./g' | sed 's/.stable//g' | sed 's/v//g'
|
|
}
|
|
|
|
prepare() {
|
|
cd "${srcdir}/${pkgname}"
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}/build"
|
|
qmake-qt5 -r .. PREFIX=/usr INSTALL_LIBS_PREFIX=/usr/lib QMAKE_CFLAGS_ISYSTEM=
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}/build"
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
}
|