summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Vieira2015-08-02 19:31:20 +0100
committerRicardo Vieira2015-08-02 19:31:20 +0100
commit747bb9c2c08b526b0522a8a2d955fb40c49afa38 (patch)
tree9c13f89e7f960112f0806c4a967d6445223bc865
downloadaur-747bb9c2c08b526b0522a8a2d955fb40c49afa38.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD39
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..425269b3229
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = liquid-dsp-git
+ pkgdesc = Digital signal processing library for software-defined radios
+ pkgver = v1.2.0.r1208.baea5f9
+ pkgrel = 1
+ url = http://liquidsdr.org
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ optdepends = fftw: use shared fft library
+ provides = liquid-dsp
+ conflicts = liquid-dsp
+ source = liquid-dsp::git+https://github.com/jgaeddert/liquid-dsp
+ md5sums = SKIP
+
+pkgname = liquid-dsp-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5dc937a7a35
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Ricardo Vieira <ricardo.vieira@tecnico.ulisboa.pt>
+
+pkgname=liquid-dsp-git
+pkgver=v1.2.0.r1208.baea5f9
+pkgrel=1
+pkgdesc="Digital signal processing library for software-defined radios"
+arch=('x86_64')
+url="http://liquidsdr.org"
+license=('GPL')
+groups=()
+depends=()
+optdepends=('fftw: use shared fft library')
+makedepends=('git')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+replaces=()
+backup=()
+options=()
+install=
+source=("${pkgname%-git}::git+https://github.com/jgaeddert/liquid-dsp")
+noextract=()
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+ ./bootstrap.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ make DESTDIR="$pkgdir/" install
+}