summaryrefslogtreecommitdiff
path: root/extra/automoc4/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-02 00:04:05 -0800
committerroot <root@rshg054.dnsready.net>2013-03-02 00:04:05 -0800
commit98aa0004e23472ee63753fded33cd55d8b942f36 (patch)
tree1299d9cfb8bcd6bd295a1a279b4ad322b4e9133a /extra/automoc4/PKGBUILD
parent5ae40a63ab4c6838234db5a9da1e99d8bc27875d (diff)
Sat Mar 2 00:04:03 PST 2013
Diffstat (limited to 'extra/automoc4/PKGBUILD')
-rw-r--r--extra/automoc4/PKGBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/extra/automoc4/PKGBUILD b/extra/automoc4/PKGBUILD
index 4e1309042..903090736 100644
--- a/extra/automoc4/PKGBUILD
+++ b/extra/automoc4/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 149006 2012-02-05 13:49:43Z andrea $
+# $Id: PKGBUILD 178949 2013-03-01 10:19:23Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
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 @@ md5sums=('91bf517cb940109180ecd07bc90c69ec'
'9014edbb7e2f02fe90b2db8707487bce')
build() {
- cd "${srcdir}"
+ . /etc/profile.d/qt4.sh
+
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
@@ -27,7 +28,9 @@ build() {
}
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"
}