git » qt5-doc.git » commit 2525fc7

Fix conflicts with qt5-examples (FS#48652)

author Antonio Rojas
2016-03-25 18:46:13 UTC
committer Antonio Rojas
2016-03-25 18:46:13 UTC
parent 52128872ca671a72f87ea4e8c77c16d6f0472ebb

Fix conflicts with qt5-examples (FS#48652)

PKGBUILD +4 -1

diff --git a/PKGBUILD b/PKGBUILD
index 6903ddd..33f3dd2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
 pkgname=qt5-doc
 _qtver=5.6.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('any')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL' 'FDL' 'custom')
@@ -52,4 +52,7 @@ package() {
 
   install -d "$pkgdir"/usr/share/licenses
   ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+# Fix conflicts with qt5-examples
+  rm -r "$pkgdir"/usr/share/doc/qt/examples
 }