python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / skypetab-ng / template
blobd389bd4b855e8dabc6ad7885ce9f281e9fd46a67
1 # Template file for 'skypetab-ng'
2 pkgname=skypetab-ng
3 version=20150201
4 revision=2
5 build_style=qmake
6 _commit=9e5b1edf7b7f0c31cf47db429d5918367f12e0e8
7 hostmakedepends="pkg-config"
8 makedepends="libX11-devel qt-devel"
9 depends="skype libskypetab-ng-${version}_${revision}"
10 short_desc="A program that adds tabs to Skype for Linux"
11 maintainer="Juan RP <xtraeme@voidlinux.eu>"
12 homepage="http://keks-n.net/skypetab"
13 license="GPL-3"
15 only_for_archs=i686
16 lib32mode="full"
17 lib32depends="skype-32bit>=0 libskypetab-ng-${version}_${revision}"
19 wrksrc=skypetab-ng-$_commit
20 distfiles="https://github.com/kekekeks/skypetab-ng/archive/${_commit}.tar.gz"
21 checksum=aeab6dde5cfe3b85757ef79b2fc099b758c63c8eb1cfcfaaa17659a0667ba525
23 post_install() {
24         chmod +x "${DESTDIR}/usr/share/applications/${pkgname}.desktop"
25         sed -i -e "s|LD_PRELOAD=|LD_PRELOAD=/usr/lib32/|" \
26                 "${DESTDIR}/usr/bin/skypetab-ng"
29 libskypetab-ng_package() {
30         short_desc+=" - shared LD_PRELOAD library"
31         pkg_install() {
32                 vmove "usr/lib/*.so*"
33         }