Commit 36da800f authored by Simon F's avatar Simon F Committed by Leonardo Arena
Browse files

community/qt5-qtcharts: New aport

parent 50512b85
# Contributor: Simon Frankenberger <simon-alpine@fraho.eu>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qt5-qtcharts
_pkgname=${pkgname/qt5-//}-everywhere-src
pkgver=5.12.0
_ver=${pkgver/_/-}
_ver=${_ver/beta0/beta}
_ver=${_ver/rc0/rc}
_V=${_ver/rc/RC}
pkgrel=0
pkgdesc="Qt5 - Support for rendering and displaying SVG"
url="http://qt-project.org/"
arch="all"
license="LGPL-2.0 with exceptions or GPL-3.0 with exceptions"
makedepends="qt5-qtbase-dev zlib-dev"
subpackages="$pkgname-dev"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/$_pkgname-$_V.tar.xz"
builddir="$srcdir"/$_pkgname-${_V%-*}
build() {
cd "$builddir"
qmake-qt5 && make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make install INSTALL_ROOT="$pkgdir"
}
sha512sums="f8767dc019cf0b9a983e4fd61ac983184d7f4d3ad3cb748fc26a877892d537808eafc3f18815ba06761818e0fe5a74f0a048772fdac9ce86d7290a078f5e21aa qtcharts-everywhere-src-5.12.0.tar.xz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment