community/qt5-qttools: fix url, fix qt5-qdbusviewer link

This commit is contained in:
Leo 2019-07-15 00:45:04 -03:00
parent 04ca798628
commit 1da5e7d16d

View File

@ -6,9 +6,9 @@ _ver=${pkgver/_/-}
_ver=${_ver/beta0/beta}
_ver=${_ver/rc0/rc}
_V=${_ver/rc/RC}
pkgrel=0
pkgrel=1
pkgdesc="Qt5 - QtTool components"
url="http://qt-project.org/"
url="https://www.qt.io/developers/"
arch="all"
license="LGPL-2.0 with exceptions or GPL-3.0 with exceptions"
makedepends="qt5-qtbase-dev"
@ -29,12 +29,10 @@ _qt5_prefix=/usr/lib/qt5
builddir="$srcdir"/$_pkgname-${_V%-*}
build() {
cd "$builddir"
qmake-qt5 && make
}
package() {
cd "$builddir"
make install INSTALL_ROOT="$pkgdir"
# -qt5 symlinks
@ -104,7 +102,7 @@ _dbusviewer() {
pkgdesc="D-Bus debugger and viewer"
cd "$pkgdir"
_mv_files usr/bin/qdbusviewer* \
$_qt5_prefix/bin/qdbusviewer* \
$_qt5_prefix/bin/qdbusviewer \
usr/share/applications/qdbusviewer* \
usr/share/icons/hicolor/*/apps/qdbusviewer*
}