summaryrefslogtreecommitdiff
path: root/extra/automoc4
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/automoc4
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/automoc4')
-rw-r--r--extra/automoc4/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/automoc4/PKGBUILD b/extra/automoc4/PKGBUILD
new file mode 100644
index 000000000..f62279efd
--- /dev/null
+++ b/extra/automoc4/PKGBUILD
@@ -0,0 +1,28 @@
+# $ Id: $
+# Maintainer: Pierre Schmitz <pierre@archlinux.de>
+
+pkgname=automoc4
+pkgver=0.9.88
+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.archlinux.org/other/automoc4/automoc4-${pkgver}.tar.bz2")
+md5sums=('adffb45ea2b550f284b1e3455f525176')
+
+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
+}