2015-07-04 04:59:15 +08:00
|
|
|
pkgname=libqtelegram-ae
|
|
|
|
_pkgname=libqtelegram-aseman-edition
|
2015-10-06 06:41:45 +08:00
|
|
|
pkgver=6.0
|
2015-10-06 08:20:37 +08:00
|
|
|
pkgrel=2
|
2015-07-04 04:59:15 +08:00
|
|
|
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.tar.gz")
|
2015-10-06 06:41:45 +08:00
|
|
|
sha1sums=('a4e44e98083ce70667271e007b7bda49427e1158')
|
2015-07-04 04:59:15 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $_pkgname-$pkgver
|
|
|
|
sed -i 's#target.path = $$PREFIX/lib/$$LIB_PATH#target.path = $$PREFIX/lib#' libqtelegram-ae.pro
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $_pkgname-$pkgver/build
|
2015-10-06 08:20:37 +08:00
|
|
|
qmake-qt5 -r .. PREFIX=/usr INSTALL_LIBS_PREFIX=/usr/lib INSTALL_HEADERS_PREFIX=/usr/include
|
2015-07-04 04:59:15 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $_pkgname-$pkgver/build
|
|
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
|
|
}
|