[arch-commits] Commit in (libbpf libbpf/repos libbpf/trunk libbpf/trunk/PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sat Jun 13 12:54:15 UTC 2020


    Date: Saturday, June 13, 2020 @ 12:54:14
  Author: anthraxx
Revision: 389068

addpkg: libbpf 0.0.8-1

Added:
  libbpf/
  libbpf/repos/
  libbpf/trunk/
  libbpf/trunk/PKGBUILD

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

Added: libbpf/trunk/PKGBUILD
===================================================================
--- libbpf/trunk/PKGBUILD	                        (rev 0)
+++ libbpf/trunk/PKGBUILD	2020-06-13 12:54:14 UTC (rev 389068)
@@ -0,0 +1,30 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor:  Adrian Bacircea <adrian.bacircea at gmail.com>
+
+pkgname=libbpf
+pkgver=0.0.8
+pkgrel=1
+pkgdesc='Library for loading eBPF programs and reading and manipulating eBPF objects from user-space'
+url='https://github.com/libbpf/libbpf'
+arch=('x86_64')
+license=('LGPL2.1')
+depends=('libelf' 'linux-api-headers')
+makedepends=('rsync')
+provides=('libbpf.so')
+source=(https://github.com/libbpf/libbpf/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('1074fb52b7a158e4e2713c4c7083528ccf2d99b899853078f230234ba112071bfa66e174d8800d36516e26d5bf06da44d100a5b2f866d267f62c9308f431220c')
+b2sums=('2a3620c97834cc23e716476b6966c1c65c1c82064b3ba1ae4ab4906ae362a777d9aa7ae40620f9a259fe969a5a897e97c14d97f627f39c47fa28c89abb1efa9a')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make -C src
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make -C src DESTDIR="${pkgdir}" LIBSUBDIR=lib install install_headers
+  install -Dm 644 LICENSE* -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md src/README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list