summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/libgpiod/PKGBUILD32
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
+}