summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD40
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b335e0f11df
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = tudo-falcon-git
+ pkgdesc = Open source instrument for real-time analysis of radio resources in public LTE/LTE-A networks.
+ pkgver = 1.3.0.r0.gf90bc6a
+ pkgrel = 1
+ url = https://github.com/falkenber9/falcon
+ arch = x86_64
+ license = AGPL3
+ makedepends = cmake
+ makedepends = boost
+ makedepends = git
+ depends = c-mnalib
+ depends = srslte-falcon-patch-git
+ provides = tudo-falcon
+ conflicts = tudo-falcon
+ source = git+https://github.com/falkenber9/falcon.git
+ sha512sums = SKIP
+
+pkgname = tudo-falcon-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4c5652a4113
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Robert Falkenberg <robert.falkenberg@tu-dortmund.de>
+
+pkgbase=tudo-falcon-git
+pkgname=$pkgbase
+_pkgname=falcon
+pkgver=1.3.0.r0.gf90bc6a
+_pkgver=v${pkgver}
+pkgrel=1
+pkgdesc='Open source instrument for real-time analysis of radio resources in public LTE/LTE-A networks.'
+arch=('x86_64')
+url='https://github.com/falkenber9/falcon'
+license=('AGPL3')
+depends=('c-mnalib' 'srslte-falcon-patch-git')
+makedepends=('cmake' 'boost' 'git')
+provides=('tudo-falcon')
+conflicts=('tudo-falcon')
+source=("git+https://github.com/falkenber9/falcon.git")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd ${_pkgname}
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed 's/^\(v\)\1*//'
+}
+
+build() {
+ echo 'Building FALCON...'
+
+ cmake .. \
+ -B "build" \
+ -S "${_pkgname}" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DENABLE_GENERIC=True
+
+ make -C "build" -j 4
+}
+
+package() {
+ make -C "build" DESTDIR="$pkgdir" install
+}