updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / xblstatus / PKGBUILD
blob6f719979874740009a1ed48f2a73d9cb493e2070
1 # Contributor: Kessia Pinheiro <kessiapinheiro at gmail.com>
2 pkgname=xblstatus
3 pkgver=0.4.1
4 pkgrel=1
5 pkgdesc="allows you to view your Xbox Live friends list"
6 arch=(i686)
7 url="http://www.hollec.com/projects/xblstatus"
8 license=('MIT')
9 depends=('python-clientform' 'pygtk' 'python-notify' 'dbus-python' 'beautiful-soup' 'gnome-python')
10 source=("http://launchpad.net/xblstatus/0.4/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"
11         'xblstatus.patch')
12 md5sums=('af9196b3c88960de7aae3dff19bc902f'
13          '06cdc1fa89f88ab29f01b58b8677dfaf')
15 build() {
16     cd "${srcdir}/${pkgname}-${pkgver}"
17 #    patch -Np0 -i ${srcdir}/xblstatus.patch || return 1
19         install -d ${pkgdir}/usr/{bin,share/{${pkgname},licenses/${pkgname}}} || return 1
21         cp -R ui/ ${pkgdir}/usr/share/${pkgname}/ || return 1
22     install -D -m0644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}
23         install -D -m0644 {*.py,README} ${pkgdir}/usr/share/${pkgname}/ || return 1
24         install -D -m0755 xblstatus.py ${pkgdir}/usr/share/${pkgname}/ || return 1
25         ln -s ../../usr/share/${pkgname}/${pkgname}.py ${pkgdir}/usr/bin/${pkgname} || return 1