From 09f1699d3c1d51228c40a37d9c208738279d0f63 Mon Sep 17 00:00:00 2001
From: Duncaen <mail@duncano.de>
Date: Fri, 6 Feb 2015 17:21:25 +0100
Subject: [PATCH] New package: attica-qt5-5.6.0

---
 common/shlibs               |  1 +
 srcpkgs/attica-qt5-devel    |  1 +
 srcpkgs/attica-qt5/template | 25 +++++++++++++++++++++++++
 3 files changed, 27 insertions(+)
 create mode 120000 srcpkgs/attica-qt5-devel
 create mode 100644 srcpkgs/attica-qt5/template

diff --git a/common/shlibs b/common/shlibs
index 514d5035597..ebc898e7ef5 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2012,3 +2012,4 @@ libphonon4qt5.so.4 phonon-qt5-4.8.3_1
 libphonon4qt5experimental.so.4 phonon-qt5-4.8.3_1
 libtelepathy-qt5.so.0 telepathy-qt5-0.9.5_1
 libtelepathy-qt5-farstream.so.0 telepathy-qt5-farstream-0.9.5_1
+libKF5Attica.so.5 attica-qt5-5.6.0_1
diff --git a/srcpkgs/attica-qt5-devel b/srcpkgs/attica-qt5-devel
new file mode 120000
index 00000000000..e7ae6580128
--- /dev/null
+++ b/srcpkgs/attica-qt5-devel
@@ -0,0 +1 @@
+attica-qt5
\ No newline at end of file
diff --git a/srcpkgs/attica-qt5/template b/srcpkgs/attica-qt5/template
new file mode 100644
index 00000000000..5606b951c64
--- /dev/null
+++ b/srcpkgs/attica-qt5/template
@@ -0,0 +1,25 @@
+# Template file for 'attica'
+pkgname=attica-qt5
+version=5.6.0
+revision=1
+wrksrc=${pkgname%-*}-${version}
+build_style=cmake
+hostmakedepends="cmake"
+makedepends="qt5-devel extra-cmake-modules"
+short_desc="A Qt library that implements the Open Collaboration Services API"
+maintainer="Juan RP <xtraeme@gmail.com>"
+license="GPL-3"
+homepage="https://projects.kde.org/projects/kdesupport/attica"
+distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname%-*}-${version}.tar.xz"
+checksum=00795347ddede9daabc84112c517b4c92ec387c38fd7460c93fc877ac57383e3
+
+attica-qt5-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/mkspecs
+		vmove usr/lib/pkgconfig
+		vmove usr/lib/cmake
+		vmove usr/lib/*.so
+	}
+}