2011-12-23 09:54:39 +01:00
|
|
|
# Template file for 'skypetab-ng'
|
|
|
|
pkgname=skypetab-ng
|
2014-03-09 18:16:42 +01:00
|
|
|
version=20140309
|
2014-03-09 18:37:10 +01:00
|
|
|
revision=2
|
2013-04-14 12:31:59 +02:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libX11-devel qt-devel"
|
2014-03-09 18:16:42 +01:00
|
|
|
depends="skype libskypetab-ng-${version}_${revision}"
|
2011-12-23 09:54:39 +01:00
|
|
|
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
|
2014-03-09 18:16:42 +01:00
|
|
|
lib32mode="full"
|
2011-12-23 09:54:39 +01: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 12:31:59 +02:00
|
|
|
do_configure() {
|
|
|
|
qmake
|
2011-12-23 09:54:39 +01:00
|
|
|
}
|
|
|
|
|
2013-04-14 12:31:59 +02:00
|
|
|
do_build() {
|
2011-12-23 09:54:39 +01:00
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
2013-04-14 12:31:59 +02:00
|
|
|
do_install() {
|
2011-12-23 09:54:39 +01:00
|
|
|
make ${makejobs} INSTALL_ROOT=${DESTDIR} install
|
|
|
|
chmod +x "${DESTDIR}/usr/share/applications/${pkgname}.desktop"
|
2014-03-09 18:16:42 +01: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 09:54:39 +01:00
|
|
|
}
|