diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-03-31 14:10:30 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-03-31 14:41:47 +0000 |
commit | f3273877e89b9ec06c6d44aa6c29a6f3443b8d38 (patch) | |
tree | 385cf038e75364bf9a1c446f42c3277a98d01c98 | |
parent | 38a4f976681c985f9261c60ddceaa5e8a8fd07c9 (diff) | |
download | aports-f3273877e89b9ec06c6d44aa6c29a6f3443b8d38.tar.bz2 aports-f3273877e89b9ec06c6d44aa6c29a6f3443b8d38.tar.xz |
main/qt5-qtbase: fix syncqt-qt5.pl
-rw-r--r-- | main/qt5-qtbase/APKBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/main/qt5-qtbase/APKBUILD b/main/qt5-qtbase/APKBUILD index 5b4a5c617d..fc604b6af8 100644 --- a/main/qt5-qtbase/APKBUILD +++ b/main/qt5-qtbase/APKBUILD @@ -5,7 +5,7 @@ _ver=${pkgver/_/-} _ver=${_ver/beta0/beta} _ver=${_ver/rc0/rc} _V=${_ver/rc/RC} -pkgrel=0 +pkgrel=1 pkgdesc="Qt5 - QtBase components" url="http://qt-project.org/" arch="all" @@ -13,7 +13,7 @@ license="LGPLv2 with exceptions or GPLv3 with exceptions" depends="" depends_dev="mesa-dev libice-dev libsm-dev libx11-dev libxext-dev openssl-dev fontconfig-dev freetype-dev glib-dev libpng-dev zlib-dev - sqlite-dev dbus-dev" + sqlite-dev dbus-dev perl" makedepends="$depends_dev bison cups-dev @@ -124,7 +124,12 @@ package() { make INSTALL_ROOT="$pkgdir" install || return 1 mkdir -p "$pkgdir"/usr/bin/ for i in "$pkgdir"/$_qt5_prefix/bin/*; do - ln -s ../lib/qt5/bin/${i##*/} "$pkgdir"/usr/bin/${i##*/}-qt5 || return 1 + _name=${i##*/} + case $_name in + *.*) _dest="$pkgdir"/usr/bin/${_name%.*}-qt5.${_name##*.};; + *) _dest="$pkgdir"/usr/bin/${_name%.*}-qt5;; + esac + ln -s ../lib/qt5/bin/"${_name}" "$_dest" done } |