desktop/telegramqml/PKGBUILD
2016-08-17 07:25:14 +01:00

30 lines
890 B
Bash

pkgname=telegramqml
_pkgname=TelegramQML
pkgver=2.0.0
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=("https://github.com/Aseman-Land/TelegramQML/archive/v${pkgver}.tar.gz")
sha256sums=('6fa519a58eebed0028eb34149198309ecf9901c8d706744d9eb197c92d485427')
prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
mkdir -p build
}
build() {
cd "${srcdir}/${_pkgname}-${pkgver}/build"
qmake-qt5 -r .. PREFIX=/usr INSTALL_LIBS_PREFIX=/usr/lib INSTALL_HEADERS_PREFIX=/usr/include BUILD_MODE+=lib QMAKE_CFLAGS_ISYSTEM=
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}/build"
make INSTALL_ROOT="${pkgdir}" install
}