aboutsummaryrefslogblamecommitdiffstats
path: root/community/qt5-qtxmlpatterns/APKBUILD
blob: 5f7caf4992673f63b9de0aeed0b25c74e8b522fe (plain) (tree)
1
2
3

                                                   
            





















                                                                                                                      
                                                   
         
                      
                                     


           
                      
                                                       

 
                                                                                                                                                                                        
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qt5-qtxmlpatterns
pkgver=5.8.0
pkgrel=0
pkgdesc="Qt5 - QtXmlPatterns component"
url="http://qt-project.org/"
arch="all"
license="LGPLv2 with exceptions or GPLv3 with exceptions"
depends=""
depends_dev="qt5-qtbase-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"

_ver=${pkgver/_/-}
_ver=${_ver/beta0/beta}
_ver=${_ver/rc0/rc}
_V=${_ver/rc/RC}
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac

source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtxmlpatterns-opensource-src-$_V.tar.xz"

builddir="$srcdir"/qtxmlpatterns-opensource-src-$_V
build() {
	cd "$builddir"
	qmake-qt5 && make || return 1
}

package() {
	cd "$builddir"
	make install INSTALL_ROOT="$pkgdir" || return 1
}

sha512sums="debaf9fe25621deaac9f2d27bc909ea67d257884ac7577a6e2f5fdba6590d06d5f22659be55ee17dbcd431d76156082665ecb92c6ea13bf79e0f568fe383d377  qtxmlpatterns-opensource-src-5.8.0.tar.xz"