# Maintainer: SteamedFish # Contributor: nemanjan00 pkgname=dsd-fme pkgver=2024 pkgrel=1 pkgdesc="Digital Speech Decoder - Florida Man Edition" arch=('i686' 'x86_64' 'aarch64') url="https://github.com/lwvmobile/dsd-fme.git" license=('custom:copyright') install="$pkgname.install" depends=( 'libpulse' 'ncurses' 'rtl-sdr' 'fftw' 'codec2' 'libsndfile' 'itpp' 'mbelib' 'glibc' 'gcc-libs' 'libogg' 'libvorbis' 'flac' 'lapack' 'opus' 'mpg123' 'lame' 'blas' 'libusb' 'dbus' 'libxcb' 'systemd-libs' 'libasyncns' 'libxau' 'libxdmcp' 'libcap' 'lz4' 'xz' 'zstd' 'libgpg-error' ) optdepends=('pulseaudio: use pulse as audio input device') makedepends=('cmake') provides=('dsd') conflicts=('dsd') source=("$pkgname-$pkgver.tar.gz::https://github.com/lwvmobile/$pkgname/archive/refs/tags/$pkgver.tar.gz") sha256sums=('d025ba6368867994a696fe740e958274afe22d571ad522f295fcd605b0d079b8') build() { cmake -B build -S "$srcdir/$pkgname-$pkgver" \ -DCMAKE_INSTALL_PREFIX=/usr \ -Wno-dev make -C build } package() { make -C build DESTDIR="$pkgdir/" install cd "$srcdir/$pkgname-$pkgver" install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT" install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/$pkgname.txt" }