diff options
author | Dana Sorensen | 2018-02-14 12:35:18 -0700 |
---|---|---|
committer | Dana Sorensen | 2018-02-14 12:35:18 -0700 |
commit | 7b4a5550f17f4718ccff865cbfa01eaad113c371 (patch) | |
tree | 04bb61ce704c2e18035a0fbee3caf68b8949a98f | |
parent | 221309e0ce91fbff2ba9f598155d59be0a408f9d (diff) | |
download | aur-7b4a5550f17f4718ccff865cbfa01eaad113c371.tar.gz |
added license, armv6h, service, dependencies, description
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 48 |
2 files changed, 38 insertions, 28 deletions
@@ -1,15 +1,21 @@ -# Generated by mksrcinfo v8 -# Fri Feb 10 17:59:42 UTC 2017 pkgbase = libiio-git - pkgdesc = TODO - pkgver = v0.9.r25.g68c3089 + pkgdesc = Library for interfacing with IIO devices + pkgver = v0.14.r1.g7d29b98 pkgrel = 1 - url = https://wiki.analog.com/resources/tools-software/linux-software/libiio + url = https://github.com/analogdevicesinc/libiio arch = i686 arch = x86_64 arch = armv7h - license = TODO + arch = armv6h + license = LGPL2.1 makedepends = git + makedepends = cmake + depends = libusb + depends = libaio + depends = libxml2 + optdepends = python: python iio module bindings + provides = libiio + conflicts = libiio source = libiio::git+https://github.com/analogdevicesinc/libiio md5sums = SKIP @@ -1,41 +1,45 @@ -# Maintainer: Emmanuel Gil Peyrot <emmanuel.peyrot@collabora.com> +# Maintainer: Dana Sorensen <dana.r.sorensen@gmail.com> +# Contributor: Emmanuel Gil Peyrot <emmanuel.peyrot@collabora.com> _pkgname=libiio pkgname="$_pkgname-git" -pkgver=v0.9.r25.g68c3089 +pkgver=v0.14.r1.g7d29b98 pkgrel=1 -pkgdesc="TODO" -arch=('i686' 'x86_64' 'armv7h') -url="https://wiki.analog.com/resources/tools-software/linux-software/libiio" -license=('TODO') -depends=() -makedepends=('git') +pkgdesc="Library for interfacing with IIO devices" +arch=('i686' 'x86_64' 'armv7h' 'armv6h') +url="https://github.com/analogdevicesinc/libiio" +license=('LGPL2.1') +provides=('libiio') +conflicts=('libiio') +depends=('libusb' 'libaio' 'libxml2') +optdepends=('python: python iio module bindings') +makedepends=('git' 'cmake') source=("$_pkgname::git+https://github.com/analogdevicesinc/libiio") md5sums=('SKIP') pkgver() { - cd "$srcdir/$_pkgname" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + cd "$srcdir/$_pkgname" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { - mkdir -p "$srcdir/$_pkgname/build" + mkdir -p "$srcdir/$_pkgname/build" } build() { - cd "$srcdir/$_pkgname/build" - cmake .. \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DCMAKE_INSTALL_SBINDIR=bin \ - -DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d \ - -DCSHARP_BINDINGS=OFF - make + cd "$srcdir/$_pkgname/build" + cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_SBINDIR=bin \ + -DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d \ + -DCSHARP_BINDINGS=OFF + make } package() { - cd "$srcdir/$_pkgname/build" - make DESTDIR="$pkgdir" install + cd "$srcdir/$_pkgname/build" + make DESTDIR="$pkgdir" install + install -Dm644 "../iiod/init/iiod.service" "$pkgdir/usr/lib/systemd/system/iiod.service" } -# vim:set ts=2 sts=2 sw=2 et: |