sbcl rebuild
[arch-packages.git] / libbpf / trunk / PKGBUILD
blob6f6ff7fe7c054505f51ca56d6a080d63da86b4f9
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 options=('debug')
15 source=(https://github.com/libbpf/libbpf/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
16 sha512sums=('e3bb602f55215a4f030e564af7321ba6338937c426fcaee478b607f88b0c773c40a0c3f59a2b345bda951a19e79061733f8a3fdc10a6292e92782e65754b584a')
17 b2sums=('084be7d4258500fa894560ed2e52821addcc5d150dcd77fd646271b614d788b7931271be9c3e46fdbc4ed93d053ea3e09023158a8e4a31f9452d10dcb0677b58')
19 build() {
20   cd ${pkgname}-${pkgver}
21   make -C src
24 package() {
25   cd ${pkgname}-${pkgver}
26   make -C src DESTDIR="${pkgdir}" LIBSUBDIR=lib install install_headers
27   install -Dm 644 LICENSE* -t "${pkgdir}/usr/share/licenses/${pkgname}"
28   install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
31 # vim: ts=2 sw=2 et: