# Template file for 'skypetab-ng'
pkgname=skypetab-ng
version=20140217
revision=1
hostmakedepends="pkg-config"
makedepends="libX11-devel qt-devel"
depends="skype"
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"

only_for_archs=i686

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
}

do_build() {
	make ${makejobs}
}

do_install() {
	make ${makejobs} INSTALL_ROOT=${DESTDIR} install
	chmod +x "${DESTDIR}/usr/share/applications/${pkgname}.desktop"
}
