updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / archey3 / PKGBUILD
blobcf5db2f8d1f941967649259e9e6ed36902f17f37
1 # Maintainer: Laurie Clark-Michalek <bluepeppers@archlinux.us>
3 pkgname=archey3
4 pkgver=20110904
5 pkgrel=1
6 pkgdesc="Python script to display system infomation alongside the Arch Linux logo"
7 arch=('any')
8 url="http://bluepeppers.github.com/archey3"
9 license=('GPL')
10 depends=('python')
11 makedepends=('git' 'python-distribute')
12 optdepends=(
13         'python3-mpd-git: python mpd libary for mpd protocol (optional, mpc can be used instead)'
14         'python-logbook-git: for logging'
15         'imagemagick: for default screenshot command'
17 conflicts=('archey')
18 provides=('archey')
19 md5sums=()
21 _gitroot="git://github.com/bluepeppers/archey3.git"
22 _gitname="archey3"
24 build() {
25         cd ${srcdir}
26         msg "Connecting to GIT server...."
28         if [ -d archey3 ] ; then
29                 cd archey3 && git pull origin
30                 msg "The local files are updated."
31         else
32                 git clone ${_gitroot}
33         fi
35         msg "GIT checkout done or server timeout"
36         msg "Starting make..."
38         cd ${srcdir}/${_gitname}
40         python setup.py install --root=${pkgdir}
41         # Comment line below to install side by side with standard archey
42         ln -s /usr/bin/archey3 ${pkgdir}/usr/bin/archey || return 1
43         install -D -m644 COPYING ${pkgdir}/usr/share/licenses/archey/COPYING
44