aseman-qt-tools: imported as cutegram's new dependency.

This commit is contained in:
Jeff Huang 2016-08-17 07:38:46 +01:00
parent 2be40248bd
commit 3f28f9ca2c

27
aseman-qt-tools/PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
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
}