summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 801a6c04b1ebe9c5d88d771796b2b0bc8cf61662 (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
33
# Maintainer: blackleg <blackleg@openmailbox.org>

pkgname=kalibrate-rtl-git
pkgver=aae11c8
pkgrel=1
pkgdesc='Fork of http://thre.at/kalibrate/ for use with rtl-sdr devices'
arch=('i686' 'x86_64')
license=('GPL')
url='https://github.com/steve-m/kalibrate-rtl'
provides=('kalibrate-rtl')
depends=("rtl-sdr")
makedepends=('git')
source=("${pkgname}::git+https://github.com/steve-m/kalibrate-rtl")
md5sums=('SKIP')


pkgver () {
  cd "${srcdir}/${pkgname}"
  git describe --always | sed 's|-|.|g'
}

build() {
  cd "${srcdir}/${pkgname}"
	./bootstrap
	./configure --prefix=/usr
	make
  
}

package() {
	cd "${srcdir}/${pkgname}"
	make DESTDIR="${pkgdir}" install
}