# Contributor: vinymeuh # Maintainer: vinymeuh pkgname=libgpiod pkgver=1.4 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/$pkgname-$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="a1d55462fd0a03b437c2cb957d23697db135d5e97989a6e9a4915b6db35176fdae526fcc1ad44c13e8b216422a8196f7c866165a553cd2078843f7bb6226e28b libgpiod-1.4.tar.gz"