# Maintainer(Aur): Greg Erwin # parabola changes and rationale: # no changes. pkgname=libgpiod pkgver=1.6.2 pkgrel=1 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=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64') license=('LGPL2.1') depends=('linux-api-headers>=4.8' 'python') makedepends=('autoconf-archive' 'help2man') conflicts=('libgpiod-git') source=("$url/snapshot/$pkgname-$pkgver.tar.gz") sha256sums=('0a1fa46d21c925ea245f101f60cc8253ff46a7ccadc1d7b952c99bb6ffec15cd') build() { cd "$pkgname-$pkgver" ./autogen.sh \ --prefix=/usr \ --enable-tools=yes \ --enable-bindings-cxx \ --enable-bindings-python make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install }