summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStanisław Pitucha2016-02-27 15:00:20 +1100
committerStanisław Pitucha2016-02-27 15:06:37 +1100
commit8fcf149806873ee23d83433d823926c9f1f48bb3 (patch)
tree28adf41cc71fa1b65f680139dfc3b08437b0bd7a
downloadaur-8fcf149806873ee23d83433d823926c9f1f48bb3.tar.gz
Initial build based on 0.2.0 tag
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD31
3 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8171d50d306
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by makepkg 5.0.0
+# Sat Feb 27 04:06:25 UTC 2016
+pkgbase = soapyremote-git
+ pkgdesc = Use any Soapy SDR remotely
+ pkgver = 0.2.0.r0.g71f7183
+ pkgrel = 1
+ url = https://github.com/pothosware/SoapyRemote
+ arch = any
+ license = custom:Boost Software License Version 1.0
+ makedepends = git
+ makedepends = soapysdr-git
+ provides = soapyremote
+ source = soapyremote-git::git+https://github.com/pothosware/SoapyRemote.git
+ sha256sums = SKIP
+
+pkgname = soapyremote-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..b6ff123c67d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.pkg.tar.xz
+pkg
+src
+soapyremote-git
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..128da50cea8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+pkgname=soapyremote-git
+pkgver=0.2.0.r0.g71f7183
+pkgrel=1
+provides=('soapyremote')
+pkgdesc="Use any Soapy SDR remotely"
+arch=('any')
+url="https://github.com/pothosware/SoapyRemote"
+license=('custom:Boost Software License Version 1.0')
+makedepends=('git' 'soapysdr-git')
+source=(${pkgname}::"git+https://github.com/pothosware/SoapyRemote.git")
+sha256sums=('SKIP')
+
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ mkdir -p build
+ cd build
+ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+
+pkgver() {
+ git -C "$pkgname" describe --long | sed 's/soapy-remote-//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+
+package() {
+ make -C "${srcdir}/${pkgname}/build" DESTDIR="${pkgdir}" install
+ install -D -t "$pkgdir/usr/share/licenses/${pkgname}/" "${srcdir}/${pkgname}/LICENSE_1_0.txt"
+}