desktop/libqtelegram-ae/PKGBUILD
2016-01-14 23:12:02 +01:00

30 lines
842 B
Bash

pkgname=libqtelegram-ae
_pkgname=libqtelegram-aseman-edition
pkgver=6.1
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')
source=("https://github.com/Aseman-Land/libqtelegram-aseman-edition/archive/v$pkgver-stable.tar.gz")
sha1sums=('2221f71a3f97023bbaeca801cf1f0217475ac12a')
prepare() {
cd $_pkgname-$pkgver-stable
# sed -i 's#target.path = $$PREFIX/lib/$$LIB_PATH#target.path = $$PREFIX/lib#' libqtelegram-ae.pro
mkdir -p build
}
build() {
cd $_pkgname-$pkgver-stable/build
qmake-qt5 -r .. PREFIX=/usr INSTALL_LIBS_PREFIX=/usr/lib INSTALL_HEADERS_PREFIX=/usr/include
make
}
package() {
cd $_pkgname-$pkgver-stable/build
make INSTALL_ROOT="$pkgdir" install
}