summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFFY002018-05-26 16:36:48 +0100
committerFFY002018-05-26 16:36:48 +0100
commit6b948ba900cbfecd7754d52b22b926124d0251f1 (patch)
tree8394ae967d71deb6f9cba6c0bb2af7ee39df33e4 /PKGBUILD
downloadaur-6b948ba900cbfecd7754d52b22b926124d0251f1.tar.gz
pkgbuild: iniitial release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6aa8e0afd30
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: FFY00 <filipe.lains@gmail.com>
+
+pkgname=osmo-fl2k
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="Library to use cheap (FL2000 based) USB3.0 to VGA converters as SDR"
+arch=(any)
+url="https://osmocom.org/projects/osmo-fl2k/wiki"
+license=('GPL')
+depends=('libusb>=1.0')
+makedepends=('cmake')
+provides=('osmo-fl2k')
+conflicts=('osmo-fl2k')
+source=("https://github.com/FFY00/osmo-fl2k/archive/v$pkgver.tar.gz")
+sha256sums=('0124da419714350d98f9075f016c31ac5643b1b2956be35520acba85dc2ed7a4')
+
+build() {
+ mkdir -p "$srcdir/$pkgname-$pkgver/build"
+ cd "$srcdir/$pkgname-$pkgver/build"
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/build"
+
+ make DESTDIR="$pkgdir" install
+}