# Contributor: vinymeuh # Maintainer: vinymeuh pkgname=libgpiod pkgver=1.4.1 pkgrel=0 pkgdesc="C library and tools for interacting with the linux GPIO character device" url="https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/" arch="all" license="LGPL-2.1-or-later" options="!check" # no test suite makedepends="autoconf automake libtool linux-headers autoconf-archive" subpackages="$pkgname-dev" source="https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/snapshot/libgpiod-$pkgver.tar.gz" prepare() { default_prepare autoreconf -vfi } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --enable-tools=yes \ --disable-static make } package() { make DESTDIR="$pkgdir" install } sha512sums="4270f6794e3c3e3b902ab5a54fd0deeff180dbf8e43aa0689420f702610d4c92cc16ad1ce299a746658a5a13ed099b3b3d8f1fe3f851e503fa1f4425b345eb68 libgpiod-1.4.1.tar.gz"