diff --git a/srcpkgs/libskypetab-ng b/srcpkgs/libskypetab-ng new file mode 120000 index 00000000000..6b9e48da32a --- /dev/null +++ b/srcpkgs/libskypetab-ng @@ -0,0 +1 @@ +skypetab-ng \ No newline at end of file diff --git a/srcpkgs/skypetab-ng/template b/srcpkgs/skypetab-ng/template index 94d58480784..9a4afd7a815 100644 --- a/srcpkgs/skypetab-ng/template +++ b/srcpkgs/skypetab-ng/template @@ -1,16 +1,17 @@ # Template file for 'skypetab-ng' pkgname=skypetab-ng -version=20140217 +version=20140309 revision=1 hostmakedepends="pkg-config" makedepends="libX11-devel qt-devel" -depends="skype" +depends="skype libskypetab-ng-${version}_${revision}" short_desc="A program that adds tabs to Skype for Linux" maintainer="davehome " homepage="http://keks-n.net/skypetab" license="GPL" only_for_archs=i686 +lib32mode="full" do_fetch() { local url="git://github.com/kekekeks/${pkgname}.git" @@ -29,4 +30,13 @@ do_build() { 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*" + } }