1 # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Adam Walters <abwalters@abwalters.us>
4 # Contributor: William Rea <sillywilly@gmail.com>
5 # Contributor: Rémy Oudompheng <remy@archlinux.org>
10 pkgdesc='Provides semi-portable access to hardware provided atomic memory operations'
12 url='https://github.com/ivmai/libatomic_ops'
16 source=($url/releases/download/v$pkgver/${pkgname}-${pkgver}.tar.gz)
17 sha256sums=('f0ab566e25fce08b560e1feab6a3db01db4a38e5bc687804334ef3920c549f3e')
21 ./configure --prefix=/usr --disable-static --enable-shared
32 make DESTDIR="$pkgdir" install
33 install -Dm644 doc/LICENSING.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"