diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-03-22 17:44:52 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-03-22 17:46:12 +0100 |
commit | daa8570be6f82d5457af43e3782b62e22a23d994 (patch) | |
tree | d941043cc09957e8313145cbe13c4ace535981aa /pcr/libgpiod | |
parent | a0ec778396794648b11ae0a962a2a31fad4e24bd (diff) | |
download | abslibre-daa8570be6f82d5457af43e3782b62e22a23d994.tar.gz abslibre-daa8570be6f82d5457af43e3782b62e22a23d994.tar.bz2 abslibre-daa8570be6f82d5457af43e3782b62e22a23d994.zip |
pcr: Add libgpiod 1.6.2 from Aur
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/libgpiod')
-rw-r--r-- | pcr/libgpiod/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/libgpiod/PKGBUILD b/pcr/libgpiod/PKGBUILD new file mode 100644 index 000000000..26444f7df --- /dev/null +++ b/pcr/libgpiod/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer(Aur): Greg Erwin <first name last name 256 at gmail dot com> + +# 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 +} |