mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 16:37:14 +08:00
38 lines
916 B
Bash
38 lines
916 B
Bash
#
|
|
# QT Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=qt5-declarative
|
|
pkgver=5.0.1
|
|
_pkgver=5.0.1
|
|
pkgrel=1
|
|
pkgdesc=('A cross-platform application and UI framework, QtDeclarative files')
|
|
arch=('x86_64')
|
|
url='http://qt.nokia.com/'
|
|
license=('GPL3' 'LGPL')
|
|
depends=('qt5-jsbackend' 'qt5-xmlpatterns')
|
|
groups=('qt5')
|
|
options=('!libtool')
|
|
_pkgfqn="qtdeclarative-opensource-src-${_pkgver}"
|
|
source=("http://origin.releases.qt-project.org/qt5/${_pkgver}/submodules_tar/qtdeclarative-opensource-src-${_pkgver}.tar.xz")
|
|
md5sums=('91bb22db9501847e7549e8a431d81b78')
|
|
|
|
build() {
|
|
cd $srcdir/$_pkgfqn
|
|
|
|
/usr/lib/qt5/bin/qmake
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$_pkgfqn
|
|
make INSTALL_ROOT=$pkgdir install
|
|
|
|
mkdir -p ${pkgdir}/usr/bin
|
|
for i in $(ls ${pkgdir}/usr/lib/qt5/bin); do
|
|
ln -s /usr/lib/qt5/bin/${i} ${pkgdir}/usr/bin/${i}-qt5
|
|
done
|
|
}
|
|
|