core/qt5-graphicaleffects/PKGBUILD

35 lines
738 B
Bash
Raw Normal View History

pkgname=qt5-graphicaleffects
2018-06-23 18:27:51 +08:00
pkgver=5.11.1
2018-02-21 11:06:15 +08:00
pkgrel=1
arch=('x86_64')
url='http://qt-project.org/'
license=('GPL3' 'LGPL' 'FDL' 'custom')
pkgdesc='Graphical effects for use with Qt Quick 2'
depends=('qt5-declarative')
makedepends=()
groups=('qt5')
options=('debug')
2018-06-23 18:27:51 +08:00
_pkgfqn="${pkgname/5-/}-everywhere-src-${pkgver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${_pkgfqn}.tar.xz")
md5sums=('90e4ec0ff93a07abcb121e33196f44eb')
prepare() {
mkdir -p build
}
build() {
cd build
2018-06-23 18:27:51 +08:00
qmake-qt5 ../${_pkgfqn}
make
}
package() {
cd build
make INSTALL_ROOT="$pkgdir" install
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
}