1 # Contributor: Otavio Souza <leader@kinuxlinux.org>
6 pkgdesc="The Fedora Smolt Client"
8 url="https://fedorahosted.org/smolt/wiki"
10 depends=('urlgrabber' 'python-simplejson' 'pyqt>=4.3.0' 'python>=2.4')
11 backup=(etc/smolt/config.py)
14 https://fedorahosted.org/releases/s/m/smolt/smolt-1.4.tar.gz \
15 001-Client-Hopefully-fix-encoding-trouble.patch \
16 002-ArchLinux-patch.diff\
19 md5sums=('a5a56912381e71f75b4c0368670a0ca8'
20 'c106e06b308eb8b75b685ca69010afc7'
21 'bb14af2866f76f55e8f1b84a79288262')
24 cd ${srcdir}/smolt-${pkgver}
25 patch -p1 -i ${srcdir}/001-Client-Hopefully-fix-encoding-trouble.patch
26 patch -p2 -i ${srcdir}/002-ArchLinux-patch.diff
29 make install DESTDIR=${pkgdir}
31 # Now fix the symlinks
32 rm -f ${pkgdir}/usr/bin/*
33 ln -s /usr/share/smolt/client/deleteProfile.py ${pkgdir}/usr/bin/smoltDeleteProfile
34 ln -s /usr/share/smolt/client/smoltGui.py ${pkgdir}/usr/bin/smoltGui
35 ln -s /usr/share/smolt/client/sendProfile.py ${pkgdir}/usr/bin/smoltSendProfile