1 # Maintainer: Thomas Dziedzic < gostrc at gmail >
6 pkgdesc='Tlen IM Client.'
8 url='http://tlen.pl/linux'
9 depends=('phonon' 'libxss' 'aspell')
10 makedepends=('chrpath')
14 [ ${CARCH} = "i686" ] &&
16 md5sums=('1cedad1c4383f5b320ff98a208c745a3')
18 [ ${CARCH} = "x86_64" ] &&
20 md5sums=('46fcf0fc0e12486829d0a84f58b628d6')
22 source=("http://j.o2.pl/idi/${_bname}-${pkgver}.bin"
24 md5sums[1]='9936ae5b4f52d9cf70fbe6967dc08b03'
27 sh ${_bname}-${pkgver}.bin --noexec --target ./
31 # need to bother upstream to not hardcode the lib path in tlen-bin to ./tlen_libs
32 # so that we won't need to install to /opt
34 # need to chrpath since we move libs later
35 chrpath -r /opt/tlen/tlen_libs ./plugins/* ./tlen_libs/* ./tlen-bin > /dev/null
37 mkdir -p "${pkgdir}/opt/tlen"
39 # install program files
40 cp -r icon.png plugins tlen-bin tlen_libs "${pkgdir}/opt/tlen/"
43 install -D "${srcdir}/tlen" "${pkgdir}/usr/bin/tlen"
46 install -D -m644 license.txt "${pkgdir}/usr/share/licenses/tlen/license"
48 # install desktop file
49 install -D -m644 ../tlen.desktop "${pkgdir}/usr/share/applications/tlen.desktop"