From 2a199156d76e510adcc98287bc7120fc4ee1b58d Mon Sep 17 00:00:00 2001
From: davehome <davehome@redthumb.info.tm>
Date: Fri, 23 Dec 2011 01:54:39 -0700
Subject: [PATCH] New package: skypetab-ng (adds tabs to skype)

---
 srcpkgs/skypetab-ng/skypetab-ng.rshlibs |  5 +++
 srcpkgs/skypetab-ng/template            | 47 +++++++++++++++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 srcpkgs/skypetab-ng/skypetab-ng.rshlibs
 create mode 100644 srcpkgs/skypetab-ng/template

diff --git a/srcpkgs/skypetab-ng/skypetab-ng.rshlibs b/srcpkgs/skypetab-ng/skypetab-ng.rshlibs
new file mode 100644
index 0000000000..66007ced41
--- /dev/null
+++ b/srcpkgs/skypetab-ng/skypetab-ng.rshlibs
@@ -0,0 +1,5 @@
+libQtGui.so.4
+libQtCore.so.4
+libstdc++.so.6
+libgcc_s.so.1
+libc.so.6
diff --git a/srcpkgs/skypetab-ng/template b/srcpkgs/skypetab-ng/template
new file mode 100644
index 0000000000..4708b1070f
--- /dev/null
+++ b/srcpkgs/skypetab-ng/template
@@ -0,0 +1,47 @@
+# Template file for 'skypetab-ng'
+pkgname=skypetab-ng
+version="$(date -u +%Y%m%d)"
+short_desc="A program that adds tabs to Skype for Linux"
+maintainer="davehome <davehome@redthumb.info.tm>"
+homepage="http://keks-n.net/skypetab"
+license="GPL"
+long_desc="
+ Skype TAB NG(next generation) helps you to add awesome tabs for skype in
+ Linux. This tool will seperate the skype in two sections:
+ 
+ The left section contains all the skype contact list as well as other skype
+ functions whereas the right has displays the current conversation
+ information. More than one converstaion will be organised in tabs."
+
+only_for_archs=i686
+nofetch=yes
+noextract=yes
+
+Add_dependency run skype
+
+Add_dependency build git
+Add_dependency build qt-devel
+Add_dependency build qt-qmake
+Add_dependency build pkg-config
+
+do_fetch() {
+	local url="git://github.com/kekekeks/${pkgname}.git"
+	msg_normal " Fetching source from $url ...\n"
+	git clone ${url} ${pkgname}-${version}
+}
+
+do_configure()
+{
+	qmake -spec linux-g++-32
+}
+
+do_build()
+{
+	make ${makejobs}
+}
+
+do_install()
+{
+	make ${makejobs} INSTALL_ROOT=${DESTDIR} install
+	chmod +x "${DESTDIR}/usr/share/applications/${pkgname}.desktop"
+}