desktop/libqtelegram-ae/PKGBUILD
Chaoting Liu da42687561 cutegram: update to git build, use binary mode
- 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
2016-12-08 07:45:15 +00:00

34 lines
877 B
Bash

pkgname=libqtelegram-ae
_pkgname=libqtelegram-aseman-edition
pkgver=10.0.0.7.g23b2673
pkgrel=1
pkgdesc="Telegram library written in Qt based on telegram-cli code"
arch=('x86_64')
license=('GPL3')
url=("https://launchpad.net/libqtelegram")
depends=('qt5-base' 'qt5-multimedia')
makedepends=('cmake' 'git')
source=("$pkgname"::"git+https://github.com/Aseman-Land/libqtelegram-aseman-edition.git#commit=23b267328e17d92ae4e57bcefa582ad28d18a4f8")
sha1sums=('SKIP')
pkgver() {
cd $pkgname
git describe --long | sed 's/\([^-]*-g\)/\1/;s/-/./g' | sed 's/.stable//g' | sed 's/v//g'
}
prepare() {
cd $pkgname
mkdir -p build
}
build() {
cd $pkgname/build
qmake-qt5 -r PREFIX=/usr INSTALL_LIBS_PREFIX=/usr/lib INSTALL_HEADERS_PREFIX=/usr/include QMAKE_CFLAGS_ISYSTEM= CONFIG+=typeobjects ..
make
}
package() {
cd $pkgname/build
make INSTALL_ROOT="$pkgdir" install
}