skypetab-ng: change to build_style=qmake

This commit is contained in:
Andrea Brancaleoni 2015-08-23 18:19:21 +02:00
parent 225a63d912
commit c394c82985
1 changed files with 4 additions and 12 deletions

View File

@ -1,7 +1,8 @@
# Template file for 'skypetab-ng' # Template file for 'skypetab-ng'
pkgname=skypetab-ng pkgname=skypetab-ng
version=20150201 version=20150201
revision=1 revision=2
build_style=qmake
_commit=9e5b1edf7b7f0c31cf47db429d5918367f12e0e8 _commit=9e5b1edf7b7f0c31cf47db429d5918367f12e0e8
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="libX11-devel qt-devel" makedepends="libX11-devel qt-devel"
@ -16,19 +17,10 @@ lib32mode="full"
lib32depends="skype-32bit>=0 libskypetab-ng-${version}_${revision}" lib32depends="skype-32bit>=0 libskypetab-ng-${version}_${revision}"
wrksrc=skypetab-ng-$_commit wrksrc=skypetab-ng-$_commit
distfiles="https://github.com/kekekeks/skypetab-ng/archive/9e5b1edf7b7f0c31cf47db429d5918367f12e0e8.tar.gz" distfiles="https://github.com/kekekeks/skypetab-ng/archive/${_commit}.tar.gz"
checksum=aeab6dde5cfe3b85757ef79b2fc099b758c63c8eb1cfcfaaa17659a0667ba525 checksum=aeab6dde5cfe3b85757ef79b2fc099b758c63c8eb1cfcfaaa17659a0667ba525
do_configure() { post_install() {
qmake
}
do_build() {
make ${makejobs}
}
do_install() {
make ${makejobs} INSTALL_ROOT=${DESTDIR} install
chmod +x "${DESTDIR}/usr/share/applications/${pkgname}.desktop" chmod +x "${DESTDIR}/usr/share/applications/${pkgname}.desktop"
sed -i -e "s|LD_PRELOAD=|LD_PRELOAD=/usr/lib32/|" \ sed -i -e "s|LD_PRELOAD=|LD_PRELOAD=/usr/lib32/|" \
"${DESTDIR}/usr/bin/skypetab-ng" "${DESTDIR}/usr/bin/skypetab-ng"