qbittorrent: fix short_desc on qbittorrent-nox

This commit is contained in:
maxice8 2018-08-03 18:32:55 -03:00
parent be9cd0cb47
commit 373604552b

View file

@ -1,7 +1,7 @@
# Template file for 'qbittorrent' # Template file for 'qbittorrent'
pkgname=qbittorrent pkgname=qbittorrent
version=4.1.1 version=4.1.1
revision=4 revision=5
create_wrksrc=yes create_wrksrc=yes
build_style=qmake build_style=qmake
hostmakedepends="automake libtool pkg-config qt5-host-tools qt5-tools" hostmakedepends="automake libtool pkg-config qt5-host-tools qt5-tools"
@ -14,7 +14,7 @@ homepage="http://www.qbittorrent.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=8edc7a7fff8aa45e7bf763c91f30e064e1d7acd3f6efecb12fee420b75457ee7 checksum=8edc7a7fff8aa45e7bf763c91f30e064e1d7acd3f6efecb12fee420b75457ee7
if [ -n "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-declarative-devel qt5-svg-devel" hostmakedepends+=" qt5-declarative-devel qt5-svg-devel"
fi fi
@ -30,7 +30,7 @@ do_configure() {
opts+=" --disable-systemd" opts+=" --disable-systemd"
opts+=" --with-boost=${XBPS_CROSS_BASE}/usr" opts+=" --with-boost=${XBPS_CROSS_BASE}/usr"
opts+=" --with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib" opts+=" --with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib"
if [ -n "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
opts+=" --host=${XBPS_CROSS_TRIPLET}" opts+=" --host=${XBPS_CROSS_TRIPLET}"
fi fi
for f in build-x11:--enable-gui:--disable-webui \ for f in build-x11:--enable-gui:--disable-webui \
@ -69,7 +69,7 @@ do_install() {
} }
qbittorrent-nox_package() { qbittorrent-nox_package() {
short_desc=" - no X11" short_desc+=" - no X11"
pkg_install() { pkg_install() {
cd ${wrksrc}/build-nox cd ${wrksrc}/build-nox
make ${makejobs} INSTALL_ROOT=${PKGDESTDIR} install make ${makejobs} INSTALL_ROOT=${PKGDESTDIR} install