summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 10953f821d523045fcd51bfe482d228c4210b688 (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
# Maintainer: Roberto Nobrega <rwnobrega@gmail.com>
pkgname=natpos-sdr
pkgver=43
pkgrel=1
pkgdesc="A Linux based SDR program similar in operation and features to other programs like Gqrx, HDSDR, and SDR#"
arch=('i686' 'x86_64')
url="http://www.ecstaticlyrics.com/radio/sdr/natpos/"
license=('custom:Antiviral')
depends=('rtl-sdr' 'alsa-lib' 'glfw-x11')
makedepends=()
optdepends=()
source=("http://www.ecstaticlyrics.com/radio/sdr/natpos/download/natpos-$pkgver.tgz")
md5sums=('2d4604613ad333a3d21181183630fb21')

build() {
  cd "natpos-$pkgver"

  ./compile
}

package() {
  cd "natpos-$pkgver"

  install -D -m755 natpos "${pkgdir}/usr/bin/natpos"
  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}