43 lines
955 B
Plaintext
43 lines
955 B
Plaintext
# Template file for 'skypetab-ng'
|
|
pkgname=skypetab-ng
|
|
version=20140309
|
|
revision=2
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libX11-devel qt-devel"
|
|
depends="skype libskypetab-ng-${version}_${revision}"
|
|
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
|
|
lib32mode="full"
|
|
|
|
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"
|
|
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*"
|
|
}
|
|
}
|