summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Sánchez Muñoz2017-01-30 20:23:40 +0100
committerEduardo Sánchez Muñoz2017-01-30 20:23:40 +0100
commit112cab5fc8a856a3e866812c108c406166b9f44b (patch)
tree44a6a3680e2f7823f06c97fa65d5248e6bd9a22b
downloadaur-112cab5fc8a856a3e866812c108c406166b9f44b.tar.gz
Fist commit
-rw-r--r--.SRCINFO23
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD37
3 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5b2c2c14247
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+# Generated by mksrcinfo v8
+# Mon Jan 30 19:23:05 UTC 2017
+pkgbase = gr-drm-git
+ pkgdesc = DRM transmitter using GNU Radio
+ pkgver = r278.9d9b45a
+ pkgrel = 1
+ url = https://github.com/kit-cel/gr-drm
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ makedepends = cmake
+ makedepends = boost
+ makedepends = swig
+ makedepends = doxygen
+ depends = gnuradio
+ depends = boost-libs
+ depends = faac
+ source = git+https://github.com/kit-cel/gr-drm
+ sha256sums = SKIP
+
+pkgname = gr-drm-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..5d8b61bbda2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/*.tar.xz
+/gr-drm
+/pkg
+/src
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..057b0b99e0b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+pkgname=gr-drm-git
+pkgver=r278.9d9b45a
+pkgrel=1
+pkgdesc="DRM transmitter using GNU Radio"
+url="https://github.com/kit-cel/gr-drm"
+license=('GPL3')
+arch=('i686' 'x86_64')
+depends=('gnuradio' 'boost-libs' 'faac')
+makedepends=('git' 'cmake' 'boost' 'swig' 'doxygen')
+source=('git+https://github.com/kit-cel/gr-drm')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/gr-drm"
+ echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+build() {
+ mkdir -p "$srcdir/gr-drm-build"
+ cd "$srcdir/gr-drm-build"
+
+ cmake "$srcdir/gr-drm" \
+ -Wno-dev \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX="/usr"
+ make
+}
+
+check() {
+ cd "$srcdir/gr-drm-build"
+ make test
+}
+
+package() {
+ cd "$srcdir/gr-drm-build"
+ make DESTDIR="$pkgdir" install
+}