Skip to content
Snippets Groups Projects
Commit 5d4ca725 authored by Filipe Laíns's avatar Filipe Laíns :rainbow:
Browse files

upgpkg: 0.2.0-1

parents
No related branches found
Tags 0.2.0-1
No related merge requests found
PKGBUILD 0 → 100644
# Maintainer: Filipe Laíns (FFY00) <lains@archlinux.org>
pkgname=soapyplutosdr
pkgver=0.2.0
_pkgname=SoapyPlutoSDR
_gitver=soapy-plutosdr-$pkgver
pkgrel=1
pkgdesc='Soapy SDR plugin for PlutoSDR'
arch=('x86_64')
url='https://github.com/pothosware/SoapyPlutoSDR'
license=('LGPL2.1')
depends=('soapysdr' 'libiio' 'libad9361')
makedepends=('cmake')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz")
sha512sums=('44b1407af8b05b3ca5b2f66cfad1212cc7adcecf621cb584b8c5e91c0c38566d45ce9be0326e20cda6b5ed415e3d8b612c084afc9eecddff056fd065ab5b88b8')
build() {
mkdir -p $_pkgname-$_gitver/build
cd $_pkgname-$_gitver/build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd $_pkgname-$_gitver/build
make DESTDIR="$pkgdir" install
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment