2011-12-23 08:54:39 +00:00
|
|
|
# Template file for 'skypetab-ng'
|
|
|
|
pkgname=skypetab-ng
|
2014-06-14 15:50:37 +00:00
|
|
|
version=20140614
|
|
|
|
revision=1
|
2014-07-27 14:05:16 +00:00
|
|
|
hostmakedepends="pkg-config git"
|
2013-04-14 10:31:59 +00:00
|
|
|
makedepends="libX11-devel qt-devel"
|
2014-03-09 17:16:42 +00:00
|
|
|
depends="skype libskypetab-ng-${version}_${revision}"
|
2011-12-23 08:54:39 +00:00
|
|
|
short_desc="A program that adds tabs to Skype for Linux"
|
2014-06-08 09:52:36 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-12-23 08:54:39 +00:00
|
|
|
homepage="http://keks-n.net/skypetab"
|
|
|
|
license="GPL"
|
|
|
|
|
|
|
|
only_for_archs=i686
|
2014-03-09 17:16:42 +00:00
|
|
|
lib32mode="full"
|
2014-06-14 15:50:37 +00:00
|
|
|
lib32depends="skype-32bit>=0 libskypetab-ng-${version}_${revision}"
|
2011-12-23 08:54:39 +00:00
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/kekekeks/${pkgname}.git"
|
|
|
|
msg_normal " Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
2013-04-14 10:31:59 +00:00
|
|
|
do_configure() {
|
|
|
|
qmake
|
2011-12-23 08:54:39 +00:00
|
|
|
}
|
|
|
|
|
2013-04-14 10:31:59 +00:00
|
|
|
do_build() {
|
2011-12-23 08:54:39 +00:00
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
2013-04-14 10:31:59 +00:00
|
|
|
do_install() {
|
2011-12-23 08:54:39 +00:00
|
|
|
make ${makejobs} INSTALL_ROOT=${DESTDIR} install
|
|
|
|
chmod +x "${DESTDIR}/usr/share/applications/${pkgname}.desktop"
|
2014-03-09 17:16:42 +00:00
|
|
|
sed -i -e "s|LD_PRELOAD=|LD_PRELOAD=/usr/lib32/|" \
|
|
|
|
"${DESTDIR}/usr/bin/skypetab-ng"
|
|
|
|
}
|
|
|
|
|
|
|
|
libskypetab-ng_package() {
|
|
|
|
short_desc+=" - shared LD_PRELOAD library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
2011-12-23 08:54:39 +00:00
|
|
|
}
|