summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0cf583e6ed9fd0d98a37cb704141c4da676eabd0 (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
# Maintainer: Swarnava Ghosh <swarnavaghosh04@gmail.com>
pkgname=gr-satlab
pkgver=20241122
pkgrel=1
pkgdesc="contains GNURadio blocks for Satlab SRS-3 and SRS-4 radios"
arch=('x86_64')
url="https://www.satlab.com/products/srs-4/"
license=('GPL-3.0-or-later')
depends=('gnuradio' 'openssl')
makedepends=('cmake')
source=("https://resources.satlab.com/software/gr-satlab/${pkgname}-v${pkgver}.tar.xz")
sha256sums=('SKIP')

build() {
    cd "${pkgname}-v${pkgver}"
    mkdir build && cd build
    cmake .. -DCMAKE_INSTALL_PREFIX=/usr # for ubuntu, don't include `-DCMAKE_INSTALL_PREFIX=/usr`
    make
}

package() {
    cd "${pkgname}-v${pkgver}/build"
    make install DESTDIR="${pkgdir}"
}