[arch-commits] Commit in phonon/trunk (PKGBUILD)
Andrea Scarpino
andrea at nymeria.archlinux.org
Sat Mar 9 17:47:24 UTC 2013
Date: Saturday, March 9, 2013 @ 18:47:23
Author: andrea
Revision: 179761
upgpkg: phonon 1:4.6.0-8
Fix headers location (FS#34196)
Modified:
phonon/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-09 17:44:07 UTC (rev 179760)
+++ PKGBUILD 2013-03-09 17:47:23 UTC (rev 179761)
@@ -3,7 +3,7 @@
pkgname=phonon
pkgver=4.6.0
-pkgrel=7
+pkgrel=8
epoch=1
arch=('i686' 'x86_64')
url='http://phonon.kde.org/'
@@ -40,4 +40,11 @@
package(){
cd build
make DESTDIR="${pkgdir}" install
+
+ # Install headers into the Qt4 dir
+ install -d "${pkgdir}"/usr/include/qt4
+ mv "${pkgdir}"/usr/include/{phonon,KDE} "${pkgdir}"/usr/include/qt4/
+
+ sed -i 's#includedir=/usr/include#includedir=/usr/include/qt4#' \
+ "${pkgdir}"/usr/lib/pkgconfig/phonon.pc
}
More information about the arch-commits
mailing list