diff options
author | Dana Sorensen | 2018-03-19 12:34:31 -0600 |
---|---|---|
committer | Dana Sorensen | 2018-03-19 12:34:31 -0600 |
commit | 5a3df6c0d5ec310307fbe1b456a1b69c3ce0720d (patch) | |
tree | cf0c9e37b8817832f832fb15c5aff8b34c5f4b7b | |
parent | 7b4a5550f17f4718ccff865cbfa01eaad113c371 (diff) | |
download | aur-5a3df6c0d5ec310307fbe1b456a1b69c3ce0720d.tar.gz |
correctly install iiod service files with new version
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 9 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = libiio-git pkgdesc = Library for interfacing with IIO devices - pkgver = v0.14.r1.g7d29b98 + pkgver = v0.14.r15.g8ac1893 pkgrel = 1 url = https://github.com/analogdevicesinc/libiio arch = i686 @@ -13,7 +13,9 @@ pkgbase = libiio-git depends = libusb depends = libaio depends = libxml2 - optdepends = python: python iio module bindings + depends = libserialport + depends = avahi + depends = python provides = libiio conflicts = libiio source = libiio::git+https://github.com/analogdevicesinc/libiio @@ -3,7 +3,7 @@ _pkgname=libiio pkgname="$_pkgname-git" -pkgver=v0.14.r1.g7d29b98 +pkgver=v0.14.r15.g8ac1893 pkgrel=1 pkgdesc="Library for interfacing with IIO devices" arch=('i686' 'x86_64' 'armv7h' 'armv6h') @@ -11,8 +11,7 @@ url="https://github.com/analogdevicesinc/libiio" license=('LGPL2.1') provides=('libiio') conflicts=('libiio') -depends=('libusb' 'libaio' 'libxml2') -optdepends=('python: python iio module bindings') +depends=('libusb' 'libaio' 'libxml2' 'libserialport' 'avahi' 'python') makedepends=('git' 'cmake') source=("$_pkgname::git+https://github.com/analogdevicesinc/libiio") md5sums=('SKIP') @@ -33,13 +32,14 @@ build() { -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_SBINDIR=bin \ -DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d \ - -DCSHARP_BINDINGS=OFF + -DCSHARP_BINDINGS=OFF \ + -DWITH_SYSTEMD=YES \ + -DSYSTEMD_UNIT_INSTALL_DIR=/usr/lib/systemd/system make } package() { cd "$srcdir/$_pkgname/build" make DESTDIR="$pkgdir" install - install -Dm644 "../iiod/init/iiod.service" "$pkgdir/usr/lib/systemd/system/iiod.service" } |