[arch-commits] Commit in libiio/repos (community-x86_64 community-x86_64/PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue Dec 3 01:45:59 UTC 2019
Date: Tuesday, December 3, 2019 @ 01:45:59
Author: dvzrv
Revision: 534922
archrelease: copy trunk to community-x86_64
Added:
libiio/repos/community-x86_64/
libiio/repos/community-x86_64/PKGBUILD
(from rev 534921, libiio/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: libiio/repos/community-x86_64/PKGBUILD (from rev 534921, libiio/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2019-12-03 01:45:59 UTC (rev 534922)
@@ -0,0 +1,32 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=libiio
+pkgver=0.18
+pkgrel=2
+pkgdesc="Interface to the Linux Industrial Input/Output (IIO) Subsystem"
+arch=('x86_64')
+url="https://github.com/analogdevicesinc/libiio"
+license=('LGPL2.1')
+depends=('glibc' 'libserialport' 'libusb-1.0.so' 'libxml2')
+makedepends=('cmake')
+provides=('libiio.so')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/analogdevicesinc/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('220154473fa33784ba2803936abda4872040ab6d86201c772574e4296b18d0fad470aa956bd13cebf1255e7072757fe01e5813f162aa0a304d0737a1a9196722')
+
+build() {
+ cd "$pkgname-$pkgver"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_SBINDIR=bin \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d \
+ -DSYSTEMD_UNIT_INSTALL_DIR=/usr/lib/systemd/system \
+ -DWITH_SYSTEMD=ON \
+ -Bbuild \
+ .
+ make -C build VERBOSE=1
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" -C build install
+}
More information about the arch-commits
mailing list