[arch-commits] Commit in libbpf/repos (extra-x86_64 extra-x86_64/PKGBUILD)
Levente Polyak
anthraxx at gemini.archlinux.org
Sat May 21 20:14:10 UTC 2022
Date: Saturday, May 21, 2022 @ 20:14:10
Author: anthraxx
Revision: 446317
archrelease: copy trunk to extra-x86_64
Added:
libbpf/repos/extra-x86_64/
libbpf/repos/extra-x86_64/PKGBUILD
(from rev 446316, libbpf/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: libbpf/repos/extra-x86_64/PKGBUILD (from rev 446316, libbpf/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2022-05-21 20:14:10 UTC (rev 446317)
@@ -0,0 +1,30 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Adrian Bacircea <adrian.bacircea at gmail.com>
+
+pkgname=libbpf
+pkgver=0.8.0
+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=('glibc' 'libelf' 'linux-api-headers')
+makedepends=('rsync')
+provides=('libbpf.so')
+source=(https://github.com/libbpf/libbpf/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('8b034a9c8f23207638630b95ff95a651148a800589eb52f2fe09698bf3c4147f2e2008b24de45a70832cc7669cdfebd78bc491e575ca0b27de5c2de3b1fb5637')
+b2sums=('c8e380d80f69f10da9d8a6ea4d19a53e8b34ed5a6072e1b57c61273f0714d13135c917224086de37246d9e47e9b848cbe75aced79278711a3007aa9e564db4b5')
+
+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 -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list