desktop/aseman-qt-tools/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

33 lines
847 B
Bash

pkgname=aseman-qt-tools
pkgver=1.0.0.37.ged22341
pkgrel=1
pkgdesc="the shared tools and functions used in the aseman's projects"
arch=('x86_64' 'i686')
license=('GPL3')
url="https://launchpad.net/libqtelegram"
depends=('qt5-multimedia' 'qt5-location' 'qt5-declarative' 'qt5-quickcontrols' 'qt5-sensors' 'qtkeychain-qt5')
makedepends=('cmake')
source=("$pkgname::git+https://github.com/Aseman-Land/aseman-qt-tools.git")
sha256sums=('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 QMAKE_CFLAGS_ISYSTEM= QT+=widgets QT+=multimedia QT+=dbus QT+=sensors QT+=positioning ../asemantools.pro
make
}
package() {
cd ${pkgname}/build
make INSTALL_ROOT="$pkgdir" install
}