mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
29 lines
787 B
Bash
29 lines
787 B
Bash
pkgname=libqtelegram-ae
|
|
_pkgname=libqtelegram-aseman-edition
|
|
pkgver=10.0.0
|
|
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=('cfb192309feaff0eb7accf8f1ab9efa17a243b15')
|
|
|
|
prepare() {
|
|
cd $_pkgname-$pkgver-stable
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd $_pkgname-$pkgver-stable/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-$pkgver-stable/build
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
}
|