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=('15676e7674e11bda5a7e50a73f4d9e7d60452271b8acf6fd39a71fefdf89fa31')
21 ./configure --prefix=/usr --disable-static --enable-shared
32 make DESTDIR="$pkgdir" install
33 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"