diff options
author | Todd E Johnson | 2021-10-10 23:19:25 -0500 |
---|---|---|
committer | Todd E Johnson | 2021-10-10 23:19:25 -0500 |
commit | 3980e8128471e8ca71836e252facf3f4b564012b (patch) | |
tree | 7974ce687cbb8710162b21ba8f622210af068b77 /PKGBUILD | |
parent | 97f9d13de301f5bcf222151dbf96766021a8d218 (diff) | |
download | aur-3980e8128471e8ca71836e252facf3f4b564012b.tar.gz |
Update for v4.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 10 insertions, 12 deletions
@@ -1,20 +1,21 @@ # Maintainer: Todd E Johnson <todd@toddejohnson.net> pkgname=trunk-recorder -pkgver=3.3.6 +pkgver=4.0 +_dlpkgver=4.0 pkgrel=1 pkgdesc="Records calls from a Trunked Radio System (P25 & SmartNet)" arch=(x86_64 i686 armv5 armv6h armv7h aarch64) url="https://github.com/robotastic/trunk-recorder" license=("GPL3") -depends=("gnuradio" "gnuradio-osmosdr" "libuhd") +depends=("gnuradio" "gnuradio-osmosdr" "libuhd" "boost-libs" "sox" "fdkaac") makedepends=("cmake" "boost" "cppunit") optdepends=() -source=("https://github.com/robotastic/trunk-recorder/archive/v${pkgver}.tar.gz" +source=("https://github.com/robotastic/trunk-recorder/archive/v${_dlpkgver}.tar.gz" 'trunk-recorder.service' 'trunk-recorder.sysusers' 'trunk-recorder.tmpfiles') -sha256sums=('01fd8ef92c8bb93109a31d8a0897d253fe4b7cce43106c606ec57d16ba3d89e6' - '413f2090a853422b8987bdb4dfa6cbcf7d5b75dbdb1989d030e7c19d3e9dfb9b' +sha256sums=('278e9a0f06714fd2dc6d776ca6048a062bfa0485372a24095d759772fcefccfe' + '59b108b0fe50dbeaf949c57f1071ba5d18a4064faa71b5974c78d5e372419bc3' 'f2e06d333ec8a64c869a9cf369015bf6e0b9819d2af259b4d1c411ed3cca78f8' 'c20344ba366fcab3f3552e2b5e537f394406ab634f35c2b8858423ffa63fd0e8') @@ -24,18 +25,15 @@ prepare() { } build() { cd build - cmake "../${pkgname}-${pkgver}" \ - -DCMAKE_BUILD_TYPE=Release \ + cmake "../${pkgname}-${_dlpkgver}" \ -DCMAKE_INSTALL_PREFIX=/usr - make + make -j $(nproc) } package() { cd build - #DESTDIR="$pkgdir" make install - install -D -m 755 "recorder" "$pkgdir/usr/bin/recorder" - install -D -m 755 "lib/op25_repeater/lib/libgnuradio-op25_repeater.so" "$pkgdir/usr/lib/libgnuradio-op25_repeater.so" - install -D -m644 "../${pkgname}-${pkgver}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + DESTDIR="$pkgdir" make install + install -D -m644 "../${pkgname}-${_dlpkgver}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -D -m644 "../$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service" install -D -m644 "../$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" install -D -m644 "../$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" |