db-move: moved xdg-desktop-portal-gnome from [testing] to [extra] (x86_64)
[arch-packages.git] / libbpf / trunk / PKGBUILD
blobb7f26f65c0b022cfbb4e01b80d9f879e80c9106b
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor:  Adrian Bacircea <adrian.bacircea@gmail.com>
4 pkgname=libbpf
5 pkgver=1.1.0
6 pkgrel=1
7 pkgdesc='Library for loading eBPF programs and reading and manipulating eBPF objects from user-space'
8 url='https://github.com/libbpf/libbpf'
9 arch=('x86_64')
10 license=('LGPL2.1')
11 depends=('glibc' 'libelf' 'linux-api-headers')
12 makedepends=('rsync')
13 provides=('libbpf.so')
14 source=(https://github.com/libbpf/libbpf/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
15 sha512sums=('751126893883c68e5472724988327e03f7f52becd472f7d6239fa838762f857e54a0347f8f824b8c32ca93b8f419310a86e1d75e3646dae72c2d2992d093b828')
16 b2sums=('70bee4e94c3b372501e1697cec6573fb3292e61236ed210bde4c3a838494cc951571d7c47720c28a47b8e038331775d66d3f4ad24423f5102e1ee708d1981f88')
18 build() {
19   cd ${pkgname}-${pkgver}
20   make -C src
23 package() {
24   cd ${pkgname}-${pkgver}
25   make -C src DESTDIR="${pkgdir}" LIBSUBDIR=lib install install_headers
26   install -Dm 644 LICENSE* -t "${pkgdir}/usr/share/licenses/${pkgname}"
27   install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
30 # vim: ts=2 sw=2 et: