summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 10c83bcd780f556dc5c7ef2c7935f7538ade8554 (plain)
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
# Maintainer: lynix <lynix47@gmail.com>

pkgname=aerotools-git
pkgver=r77.7109ba7
pkgrel=1
pkgdesc="CLI and hddtemp proxy for querying aquaero(R) 4.0 USB devices"
arch=('i686' 'x86_64')
url="https://github.com/lynix/aerotools"
license=('GPL3')
depends=('libusb>=1.0.8')
makedepends=('git' 'pkgconfig')
provides=('aerotools')
conflicts=('aerotools')
source=('git+https://github.com/lynix/aerotools.git')
md5sums=('SKIP')

pkgver() {
  cd aerotools
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd aerotools
	make
}

package() {
  cd aerotools
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

# vim:set ts=2 sw=2 et: