# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com # Contributor: Julio Diez pkgname=suscan-git pkgver=r479.9250ea0 pkgrel=1 pkgdesc="SUScan is a graphical signal analysis tool" arch=("any") url="https://github.com/BatchDrake/suscan" license=("GPL") depends=("soapysdr" "sigutils" "fftw" "libsndfile" "libxml2") makedepends=("git" "cmake") optdepends=("libvolk") provides=("suscan") conflicts=("suscan") source=($pkgname::git+https://github.com/BatchDrake/suscan.git) md5sums=('SKIP') options=('!buildflags') pkgver() { cd "$pkgname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd "$pkgname" mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. make } package() { cd "$pkgname/build" make DESTDIR="$pkgdir/" install }