# Packager = Tuxcore <dev@tuxcore.org> 
pkgname=liburcu
pkgver=0.14.1
pkgrel=1
pkgdesc="LGPLv2.1 userspace RCU (read-copy-update) library"
arch=('x86_64')
url="https://lttng.org/urcu"
license=('LGPL2.1')
depends=('glibc')
source=(https://lttng.org/files/urcu/userspace-rcu-${pkgver}.tar.bz2{,.asc})
sha256sums=('231acb13dc6ec023e836a0f0666f6aab47dc621ecb1d2cd9d9c22f922678abc0'
            'SKIP')
validpgpkeys=('2A0B4ED915F2D3FA45F5B16217280A9781186ACF')

build() {
    cd "$srcdir"/userspace-rcu-${pkgver}
    ./configure --prefix=/usr
    make
}

package() {
    cd "$srcdir"/userspace-rcu-${pkgver}
    make install DESTDIR="$pkgdir"
}
