mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
28 lines
839 B
Bash
28 lines
839 B
Bash
pkgname=aseman-qt-tools
|
|
pkgver=1.0.0
|
|
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=("https://github.com/Aseman-Land/aseman-qt-tools/archive/v${pkgver}-stable.tar.gz")
|
|
sha256sums=('44ad93a205921ed920b7dbcca1ae4d8150d001b06d6f8f01e46da02cc607ece2')
|
|
|
|
prepare() {
|
|
cd ${pkgname}-${pkgver}-stable
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}-stable/build
|
|
qmake-qt5 -r QMAKE_CFLAGS_ISYSTEM= QT+=widgets QT+=multimedia QT+=dbus QT+=sensors QT+=positioning ../asemantools.pro
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}-stable/build
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
}
|