diff options
author | Eduardo Sánchez Muñoz | 2017-11-04 16:53:55 +0100 |
---|---|---|
committer | Eduardo Sánchez Muñoz | 2017-11-04 16:53:55 +0100 |
commit | 8ddcded8a971a8eaa191cde49e584dedd95883a0 (patch) | |
tree | 4a91e55ba71c341a3132a8f6331200cb27cdc933 | |
parent | 0aa139654c236ab2eede440065a6b65788471426 (diff) | |
download | aur-8ddcded8a971a8eaa191cde49e584dedd95883a0.tar.gz |
Update links, fix arch and add nlohmann-json to makedepends.
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 37 |
3 files changed, 33 insertions, 23 deletions
@@ -1,17 +1,20 @@ +# Generated by mksrcinfo v8 +# Sat Nov 4 15:53:21 UTC 2017 pkgbase = pothos-git - pkgdesc = Pothos SDR development environment - pkgver = r324.3587629 + pkgdesc = The Pothos data-flow framework + pkgver = r2917.9ce41ef9 pkgrel = 1 - url = https://github.com/pothosware/Pothos - arch = any + url = https://github.com/pothosware/PothosCore/wiki + arch = i686 + arch = x86_64 license = Boost Software License makedepends = git + makedepends = nlohmann-json depends = python depends = poco depends = soapysdr-git depends = portaudio - provides = pothos-git - source = pothos-git::git+https://github.com/pothosware/Pothos.git + source = git+https://github.com/pothosware/PothosCore.git sha256sums = SKIP pkgname = pothos-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..37b03e17d5e4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/*.pkg.tar.xz +/PothosCore +/pkg +/src @@ -1,36 +1,39 @@ -# Maintainer: Sebastien Chassot (sinux) <seba.ptl@sinux.net> +# Maintainer: Eduardo Sánchez Muñoz (eduardosm) +# Contributor: Sebastien Chassot (sinux) <seba.ptl@sinux.net> pkgname=pothos-git -pkgver=r324.3587629 +pkgver=r2917.9ce41ef9 pkgrel=1 -pkgdesc="Pothos SDR development environment" -arch=('any') -url="https://github.com/pothosware/Pothos" +pkgdesc="The Pothos data-flow framework" +arch=('i686' 'x86_64') +url="https://github.com/pothosware/PothosCore/wiki" license=('Boost Software License') depends=('python' 'poco' 'soapysdr-git' 'portaudio') -makedepends=('git') -provides=('pothos-git') -source=(${pkgname}::"git+https://github.com/pothosware/Pothos.git") +makedepends=('git' 'nlohmann-json') +source=("git+https://github.com/pothosware/PothosCore.git") sha256sums=('SKIP') pkgver() { - cd "$pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd "$srcdir/PothosCore" + echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } prepare() { - cd $srcdir/$pkgname + cd "$srcdir/PothosCore" git submodule update --init --recursive } build() { - cd "${srcdir}/${pkgname}" - mkdir -p build - cd build - cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr - make -j4 + mkdir -p "$srcdir/pothos-build" + cd "$srcdir/pothos-build" + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + "$srcdir/PothosCore" + make } package() { - make -C "${srcdir}/${pkgname}/build" DESTDIR="${pkgdir}" install + cd "$srcdir/pothos-build" + make DESTDIR="$pkgdir" install } |