updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / aerotools-git / PKGBUILD
blob3fe68f41cbd13504ed5cd9fd5916ca2dbd97b974
1 # Contributor: lynix <lynix47@gmail.com>
2 # Maintainer: lynix <lynix47@gmail.com>
4 pkgname=aerotools-git
5 pkgver=20101208
6 pkgrel=1
7 pkgdesc="CLI and hddtemp proxy for querying aquaero(R) 4.0 USB devices"
8 arch=('i686' 'x86_64')
9 url="http://github.com/lynix/aerotools/"
10 license=('GPL3')
11 depends=('libusb>=1.0.8')
12 makedepends=('git' 'pkgconfig')
13 provides=('aerotools')
14 conflicts=('aerotools')
15 source=()
16 md5sums=()
18 _gitroot="git://github.com/lynix/aerotools.git"
20 build() {
21   msg "Connecting to GIT server..."
22   if [[ -d $srcdir/$pkgname-$pkgver ]]; then
23     cd $srcdir/$pkgname-$pkgver && git pull origin
24   else
25     git clone $_gitroot $srcdir/$pkgname-$pkgver
26     cd $srcdir/$pkgname-$pkgver
27   fi
29   msg "GIT checkout done or server timeout"
31         make
34 package() {
35         make DESTDIR=$pkgdir PREFIX=/usr install
38 # vim:set ts=2 sw=2 et: