1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Greg Erwin <first name last name 256 at gmail dot com>
7 pkgdesc="C library and tools for interacting with the linux GPIO character device"
8 url="https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git"
12 makedepends=('autoconf-archive' 'doxygen' 'help2man')
13 conflicts=('libgpiod-git')
14 source=("$url/snapshot/$pkgname-$pkgver.tar.gz")
15 sha256sums=('829d4ac268df07853609d67cfc7f476e9aa736cb2a68a630be99e8fad197be0a')
22 --enable-bindings-cxx \
23 --enable-bindings-python
24 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
30 make DESTDIR="$pkgdir" install