upgpkg: sbcl 2.3.1-1
[arch-packages.git] / libatomic_ops / repos / extra-x86_64 / PKGBUILD
blob08c9ed73ad27638b11e11236a268f20db21fcd5c
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>
7 pkgname=libatomic_ops
8 pkgver=7.6.14
9 pkgrel=1
10 pkgdesc='Provides semi-portable access to hardware provided atomic memory operations'
11 arch=(x86_64)
12 url='https://github.com/ivmai/libatomic_ops'
13 depends=(glibc)
14 license=(GPL2 MIT)
15 options=(!docs)
16 source=($url/releases/download/v$pkgver/${pkgname}-${pkgver}.tar.gz)
17 sha256sums=('390f244d424714735b7050d056567615b3b8f29008a663c262fb548f1802d292')
19 build() {
20   cd $pkgname-$pkgver
21   ./configure --prefix=/usr --disable-static --enable-shared
22   make
25 check() {
26   cd $pkgname-$pkgver
27   make check
30 package() {
31   cd $pkgname-$pkgver
32   make DESTDIR="$pkgdir" install
33   install -Dm644 doc/LICENSING.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"