[arch-commits] Commit in automoc4/trunk (PKGBUILD)
Andrea Scarpino
andrea at nymeria.archlinux.org
Mon Feb 25 16:50:24 UTC 2013
Date: Monday, February 25, 2013 @ 17:50:24
Author: andrea
Revision: 178556
Undo the qt/qt4 replacement
Modified:
automoc4/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-02-25 16:49:29 UTC (rev 178555)
+++ PKGBUILD 2013-02-25 16:50:24 UTC (rev 178556)
@@ -4,12 +4,12 @@
pkgname=automoc4
pkgver=0.9.88
-pkgrel=4
+pkgrel=3
pkgdesc="Automatic moc for Qt4"
arch=('i686' 'x86_64')
url='http://www.kde.org/'
license=('custom')
-depends=('qt4')
+depends=('qt')
makedepends=('pkgconfig' 'cmake')
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2"
'license.txt')
@@ -17,9 +17,8 @@
'9014edbb7e2f02fe90b2db8707487bce')
build() {
- . /etc/profile.d/qt4.sh
-
- mkdir build
+ cd "${srcdir}"
+ mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
@@ -28,9 +27,7 @@
}
package() {
- cd build
+ cd "${srcdir}/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