blob: 996ca055db1b90791e18b4bca1c7029344f7abc6 (
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
|
# Maintainer: Alexander Fasching <fasching.a91@gmail.com>
pkgname=kalibrate-bladerf-git
pkgver=r20.13bd3ab
pkgrel=1
epoch=1
pkgdesc='Fork of http://thre.at/kalibrate/ for use with the bladeRF SDR'
arch=('i686' 'x86_64')
license=('GPL')
url='https://github.com/Nuand/kalibrate-bladeRF'
depends=("bladerf" "fftw")
makedepends=('git')
source=("${pkgname}::git+https://github.com/Nuand/kalibrate-bladeRF.git")
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
./bootstrap
./configure --prefix=/usr --program-suffix=-bladeRF
make
}
package() {
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
}
|