summaryrefslogtreecommitdiff
path: root/extra/phonon/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/phonon/PKGBUILD')
-rw-r--r--extra/phonon/PKGBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/extra/phonon/PKGBUILD b/extra/phonon/PKGBUILD
index 9a1c07bfc..10582bb78 100644
--- a/extra/phonon/PKGBUILD
+++ b/extra/phonon/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 179044 2013-03-01 21:25:10Z andrea $
+# $Id: PKGBUILD 179762 2013-03-09 17:47:45Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
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 @@ build() {
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
}