blob: 52b94258d0e6315fc34972172d4663fd30e4bc6a (
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
34
35
|
# Maintainer: Michal Krenek (Mikos) <m.krenek@gmail.com>
pkgname=rtl_power_fftw-git
_pkgname=rtl-power-fftw
pkgver=r129.b14d624
pkgrel=1
pkgdesc="Power spectrum for RTLSDR dongles"
arch=('i686' 'x86_64')
url="https://github.com/AD-Vega/rtl-power-fftw"
license=('GPL')
groups=()
depends=('rtl-sdr' 'tclap' 'fftw')
makedepends=('git' 'cmake')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/AD-Vega/rtl-power-fftw.git')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${_pkgname}"
mkdir build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir/${_pkgname}/build"
make DESTDIR="$pkgdir/" install
}
|