updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / smolt-client / PKGBUILD
blob17ca251a404e8430b5ee4cff4c908141021ffc7b
1 # Contributor: Otavio Souza <leader@kinuxlinux.org>
3 pkgname=smolt-client
4 pkgver=1.4
5 pkgrel=1
6 pkgdesc="The Fedora Smolt Client"
7 arch=('i686' 'x86_64')
8 url="https://fedorahosted.org/smolt/wiki"
9 license=('GPL')
10 depends=('urlgrabber' 'python-simplejson' 'pyqt>=4.3.0' 'python>=2.4')
11 backup=(etc/smolt/config.py)
13 source=(\
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')
23 build() {
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
28         cd client
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