[arch-commits] Commit in libbpf/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Feb 12 23:43:38 UTC 2022
Date: Saturday, February 12, 2022 @ 23:43:38
Author: arojas
Revision: 437053
archrelease: copy trunk to testing-x86_64
Added:
libbpf/repos/testing-x86_64/
libbpf/repos/testing-x86_64/PKGBUILD
(from rev 437052, libbpf/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: libbpf/repos/testing-x86_64/PKGBUILD (from rev 437052, libbpf/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-02-12 23:43:38 UTC (rev 437053)
@@ -0,0 +1,30 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Adrian Bacircea <adrian.bacircea at gmail.com>
+
+pkgname=libbpf
+pkgver=0.7.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=('9677cd42124766713d8d773ebef1fc1782a167f2469e48d83ad28a68f7f8fb5f840aad62ffe27c4cd5acba34dfa969c21e8cf6390d7832a378f87a63607eee76')
+b2sums=('e35116d622f3bb7dda0d5f6fbcae776277a5154a3c75d26dec325dcd7795826cbe69344da7fd19f2ab60a54225d4a77e64d4d5a6cb14dfd20e6372ac16ebc868')
+
+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