[arch-commits] Commit in (4 files)

Pierre Schmitz pierre at archlinux.org
Tue Jul 15 17:49:04 EDT 2008


    Date: Tuesday, July 15, 2008 @ 17:49:03
  Author: pierre
Revision: 5382

adding automoc4 (will be a makedepend of KDE4

Added:
  automoc4/
  automoc4/repos/
  automoc4/trunk/
  automoc4/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Added: automoc4/trunk/PKGBUILD
===================================================================
--- automoc4/trunk/PKGBUILD	                        (rev 0)
+++ automoc4/trunk/PKGBUILD	2008-07-15 21:49:03 UTC (rev 5382)
@@ -0,0 +1,28 @@
+# $ Id: $
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=automoc4
+pkgver=0.9.83
+pkgrel=1
+pkgdesc="KDE automoc4"
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('custom')
+depends=('qt>=4.4')
+makedepends=('pkgconfig' 'cmake')
+source=("ftp://ftp.kde.org/pub/kde/unstable/4.0.83/support/automoc4-${pkgver}.tar.bz2")
+md5sums=('7876af12da90bd357fc547c4f4828603')
+
+build() {
+	cd ${srcdir}
+	mkdir build
+	cd build
+	cmake ../${pkgname}-${pkgver} \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_INSTALL_PREFIX=/usr
+	make
+	make DESTDIR=$pkgdir install
+
+	grep -A 21 '^    Copyright' ${srcdir}/${pkgname}-${pkgver}/kde4automoc.cpp > license.txt
+	install -D license.txt ${pkgdir}/usr/share/licenses/automoc4/license.txt
+}
\ No newline at end of file





More information about the arch-commits mailing list