[arch-commits] Commit in automoc4/trunk (PKGBUILD)
Andrea Scarpino
andrea at nymeria.archlinux.org
Tue Feb 26 05:50:09 UTC 2013
Date: Tuesday, February 26, 2013 @ 06:50:09
Author: andrea
Revision: 178632
upgpkg: automoc4 0.9.88-4
qt4 rebuild
Modified:
automoc4/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-02-26 05:44:18 UTC (rev 178631)
+++ PKGBUILD 2013-02-26 05:50:09 UTC (rev 178632)
@@ -4,12 +4,12 @@
pkgname=automoc4
pkgver=0.9.88
-pkgrel=3
+pkgrel=4
pkgdesc="Automatic moc for Qt4"
arch=('i686' 'x86_64')
url='http://www.kde.org/'
license=('custom')
-depends=('qt')
+depends=('qt4')
makedepends=('pkgconfig' 'cmake')
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2"
'license.txt')
@@ -17,7 +17,8 @@
'9014edbb7e2f02fe90b2db8707487bce')
build() {
- cd "${srcdir}"
+ . /etc/profile.d/qt4.sh
+
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
@@ -27,7 +28,9 @@
}
package() {
- cd "${srcdir}/build"
+ cd build
make DESTDIR="${pkgdir}" install
- install -Dm644 "${srcdir}/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ install -Dm644 "${srcdir}/license.txt" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
More information about the arch-commits
mailing list