author | Andrea Scarpino
<andrea@archlinux.org> 2013-03-09 17:47:23 UTC |
committer | Andrea Scarpino
<andrea@archlinux.org> 2013-03-09 17:47:23 UTC |
parent | 7bf3f29ec9e4a51052af3cc1e3276f90d5ef6b35 |
PKGBUILD | +8 | -1 |
diff --git a/PKGBUILD b/PKGBUILD index 4b6bc66..37c5e69 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=phonon pkgver=4.6.0 -pkgrel=7 +pkgrel=8 epoch=1 arch=('i686' 'x86_64') url='http://phonon.kde.org/' @@ -39,4 +39,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 }