summaryrefslogtreecommitdiff
path: root/pcr/libxtrxdsp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/libxtrxdsp/PKGBUILD')
-rw-r--r--pcr/libxtrxdsp/PKGBUILD42
1 files changed, 0 insertions, 42 deletions
diff --git a/pcr/libxtrxdsp/PKGBUILD b/pcr/libxtrxdsp/PKGBUILD
deleted file mode 100644
index 3ccab5b01..000000000
--- a/pcr/libxtrxdsp/PKGBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# $Id$
-# Contributor: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-pkgname=libxtrxdsp
-pkgver=r0+git
-pkgrel=1
-pkgdesc="DSP specific function for SDR in general and XTRX in specific"
-url="https://github.com/xtrx-sdr/libxtrxdsp"
-arch=(armv7h i686 x86_64)
-license=('LGPL')
-makedepends=('git' 'cmake')
-commit=5dc9e4d4c440ef5ce9ecc26b5c730ece2e99fd24
-source=("git://github.com/xtrx-sdr/libxtrxdsp#commit=$commit")
-sha512sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- echo r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)
-}
-
-build() {
- case "$CARCH" in
- i686) ARCH=i386;;
- x86_64) ARCH=x86_64;;
- arhmv7h) ARCH=armhf;;
- esac
-
- cd "$srcdir/$pkgname"
- mkdir -p build
- cd build
-
- cmake \
- -DENABLE_SOAPY=NO \
- -DPYTHON_EXECUTABLE=/usr/bin/python2 \
- -DFORCE_ARCH=x86 \
- ../
- make
-}
-
-package() {
- cd "$srcdir/$pkgname/build/"
- make DESTDIR="${pkgdir}" install
-}