summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFFY002018-05-26 16:36:48 +0100
committerFFY002018-05-26 16:36:48 +0100
commit6b948ba900cbfecd7754d52b22b926124d0251f1 (patch)
tree8394ae967d71deb6f9cba6c0bb2af7ee39df33e4
downloadaur-6b948ba900cbfecd7754d52b22b926124d0251f1.tar.gz
pkgbuild: iniitial release
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD32
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b1f0dd496ff
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = osmo-fl2k
+ pkgdesc = Library to use cheap (FL2000 based) USB3.0 to VGA converters as SDR
+ pkgver = 0.1.1
+ pkgrel = 1
+ url = https://osmocom.org/projects/osmo-fl2k/wiki
+ arch = any
+ license = GPL
+ makedepends = cmake
+ depends = libusb>=1.0
+ provides = osmo-fl2k
+ conflicts = osmo-fl2k
+ source = https://github.com/FFY00/osmo-fl2k/archive/v0.1.1.tar.gz
+ sha256sums = 0124da419714350d98f9075f016c31ac5643b1b2956be35520acba85dc2ed7a4
+
+pkgname = osmo-fl2k
+
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
+}