forked from lclarkmichalek/archey3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
44 lines (37 loc) · 1.25 KB
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Maintainer: Laurie Clark-Michalek <[email protected]>
pkgname=archey3
pkgver=20120517
pkgrel=1
pkgdesc="Python script to display system infomation alongside the Arch Linux logo"
arch=('any')
url="http://bluepeppers.github.com/archey3"
license=('GPL')
depends=('python')
makedepends=('git' 'python-distribute')
optdepends=(
'python3-mpd-git: python mpd libary for mpd protocol (optional, mpc can be used instead)'
'python-logbook-git: for logging'
'imagemagick: for default screenshot command'
)
conflicts=('archey')
provides=('archey')
md5sums=()
_gitroot="git://github.com/bluepeppers/archey3.git"
_gitname="archey3"
build() {
cd ${srcdir}
msg "Connecting to GIT server...."
if [ -d archey3 ] ; then
cd archey3 && git pull origin
msg "The local files are updated."
else
git clone ${_gitroot}
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
cd ${srcdir}/${_gitname}
python setup.py install --root=${pkgdir}
# Comment line below to install side by side with standard archey
ln -s /usr/bin/archey3 ${pkgdir}/usr/bin/archey || return 1
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/archey/COPYING
}