APKBUILD 1.02 KB
Newer Older
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qt5-qtgraphicaleffects
3
_pkgname=${pkgname/qt5-//}-everywhere-src
4
pkgver=5.12.5
5 6
_ver=${pkgver/_/-}
_ver=${_ver/beta0/beta}
7
_ver=${_ver/rc0/rc}
8
_v=${_ver/rc/RC}
9
pkgrel=0
10 11
pkgdesc="Qt5 - QtGraphicalEffects component"
url="http://qt-project.org/"
12 13
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
14 15
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev"

16
case $pkgver in
17
*_beta*|*_rc*) _rel=development_releases;;
18 19
*) _rel=official_releases;;
esac
20
source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtgraphicaleffects-everywhere-src-$_v.tar.xz"
21

22
builddir="$srcdir/$_pkgname-${_v%-*}"
23 24 25

build() {
	qmake-qt5 && make
26 27
}

28 29
check() {
	make check
30 31 32
}

package() {
33
	make install INSTALL_ROOT="$pkgdir"
34 35
}

36
sha512sums="489a308af5f56ff2b023375ddf705f8a1b15c0e1fb1ec3bc6e5f66a80b5863d63aa0e57a3aef025ab965694add8d71424123bca120ce8d8b8448e7218f7fc640  qtgraphicaleffects-everywhere-src-5.12.5.tar.xz"