updated on Thu Jan 12 16:09:17 UTC 2012
[aur-mirror.git] / lsit / PKGBUILD
blob8a807a274a76ebd06a7b00c2cfd004979b4682c6
1 # Maintainer: Trizen <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d>
3 pkgname=lsit
4 pkgver=20110214
5 pkgrel=1
6 pkgdesc="Linux System Information Tool"
7 arch=('any')
8 url="https://github.com/trizen/lsit"
9 license=('GPL')
10 makedepends=('git')
11 depends=('perl')
12 _gitroot="git://github.com/trizen/$pkgname.git"
13 _gitname="$pkgname"
15 build() {
16     cd "$startdir/src"
17   
18     msg "Connecting to github GIT server...."
19     
20     if [ -d "$startdir/src/$_gitname" ] ; then
21         cd $_gitname && git pull origin
22     else
23         git clone "$_gitroot"
24         cd $_gitname
25     fi
26     
27     install -m 755 -D $pkgname "$pkgdir/usr/bin/$pkgname"