diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4d321476ac8b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = gr-iridium-git + pkgdesc = Gnuradio blocks and tools for receiving Iridium transmissions + pkgver = db88eb4 + pkgrel = 1 + url = https://github.com/muccc/gr-iridium + arch = any + license = GPL3 + makedepends = cmake + depends = gnuradio + depends = python2-scipy + depends = python2-numpy + depends = gnuradio-osmosdr + provides = gr-iridium + source = git+https://github.com/muccc/gr-iridium + sha1sums = SKIP + +pkgname = gr-iridium-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..00a231449839 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Davide Gerhard < rainbow at irh dot it> PGP-Key: + +pkgname=gr-iridium-git +pkgver=db88eb4 +pkgrel=1 +pkgdesc="Gnuradio blocks and tools for receiving Iridium transmissions" +arch=('any') +url="https://github.com/muccc/gr-iridium" +license=('GPL3') +depends=('gnuradio' 'python2-scipy' 'python2-numpy' 'gnuradio-osmosdr') +makedepends=('cmake') +provides=('gr-iridium') +source=('git+https://github.com/muccc/gr-iridium') +sha1sums=('SKIP') +_gitname=gr-iridium + +pkgver() { + cd $_gitname + echo $(git describe --always | sed 's/-/./g') +} + +build() { + cd $_gitname + mkdir build && cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +package() { + cd $_gitname + cd build + make DESTDIR=${pkgdir} install +} + +# vim:set ts=2 sw=2 et: |