OCaml 4.14.0 rebuild: ocaml-ctypes 0.20.1-1
[arch-packages.git] / libbpf / repos / core-x86_64 / PKGBUILD
blobd544c21ca686595cced5ac87a5c082cd5be9fa83
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor:  Adrian Bacircea <adrian.bacircea@gmail.com>
4 pkgname=libbpf
5 pkgver=0.8.1
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=('e3bb602f55215a4f030e564af7321ba6338937c426fcaee478b607f88b0c773c40a0c3f59a2b345bda951a19e79061733f8a3fdc10a6292e92782e65754b584a')
16 b2sums=('084be7d4258500fa894560ed2e52821addcc5d150dcd77fd646271b614d788b7931271be9c3e46fdbc4ed93d053ea3e09023158a8e4a31f9452d10dcb0677b58')
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: