initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

32
libbpf/PKGBUILD Normal file
View File

@@ -0,0 +1,32 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=libbpf
pkgver=0.3
pkgrel=3
pkgdesc="Library for loading eBPF programs and reading and manipulating eBPF objects from user-space"
url='https://github.com/libbpf/libbpf'
arch=('i686' 'x86_64')
license=('LGPL-2.1' 'GPL-2')
depends=('glibc' 'libelf')
makedepends=('rsync')
source=("https://github.com/libbpf/libbpf/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
"consolidate-lib-dirs.patch")
sha512sums=('91c3368626e731b5868fd1bb6d16bd049b2ed0d5cbf966647fa1069cf8c912d91f3d734f05353a0c16c8ff03790ca8e1e6515fff66e4a76d70ffdf2dbac6d8e3'
'1f19209278f7feaee27a8211f11851c3fe601e5a5c548c8b1bcf1aae7e17c0fe2933e07a3b5b38115c940949ca4c30ad669c618bad69fe2b3d8d1a4d91fecc1b')
prepare() {
cd ${pkgname}-${pkgver}
patch -p1 -i ${srcdir}/consolidate-lib-dirs.patch
}
build() {
cd ${pkgname}-${pkgver}
make NO_PKG_CONFIG=1 -C src
}
package() {
cd ${pkgname}-${pkgver}
make -C src DESTDIR="${pkgdir}" 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}"
}