Date: Friday, April 7, 2023 @ 04:46:39
  Author: felixonmars
Revision: 1440557

archrelease: copy trunk to community-staging-x86_64

Added:
  libgpiod/repos/community-staging-x86_64/
  libgpiod/repos/community-staging-x86_64/PKGBUILD
    (from rev 1440556, libgpiod/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: libgpiod/repos/community-staging-x86_64/PKGBUILD (from rev 1440556, 
libgpiod/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2023-04-07 04:46:39 UTC (rev 1440557)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Greg Erwin <first name last name 256 at gmail dot com>
+
+pkgname=libgpiod
+pkgver=1.6.4
+pkgrel=2
+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')
+license=('LGPL2.1')
+depends=('python')
+makedepends=('autoconf-archive' 'doxygen' 'help2man')
+conflicts=('libgpiod-git')
+source=("$url/snapshot/$pkgname-$pkgver.tar.gz")
+sha256sums=('829d4ac268df07853609d67cfc7f476e9aa736cb2a68a630be99e8fad197be0a')
+
+build() {
+  cd $pkgname-$pkgver
+  ./autogen.sh \
+    --prefix=/usr \
+    --enable-tools=yes \
+    --enable-bindings-cxx \
+    --enable-bindings-python
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Reply via email to