Date: Tuesday, March 28, 2023 @ 18:30:49
  Author: anatolik
Revision: 472113

archrelease: copy trunk to testing-x86_64

Added:
  libatomic_ops/repos/testing-x86_64/
  libatomic_ops/repos/testing-x86_64/PKGBUILD
    (from rev 472112, libatomic_ops/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: libatomic_ops/repos/testing-x86_64/PKGBUILD (from rev 472112, 
libatomic_ops/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2023-03-28 18:30:49 UTC (rev 472113)
@@ -0,0 +1,34 @@
+# Maintainer:  Bartłomiej Piotrowski <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+# Contributor: Adam Walters <[email protected]>
+# Contributor: William Rea <[email protected]>
+# Contributor: Rémy Oudompheng <[email protected]>
+
+pkgname=libatomic_ops
+pkgver=7.8.0
+pkgrel=1
+pkgdesc='Provides semi-portable access to hardware provided atomic memory 
operations'
+arch=(x86_64)
+url='https://github.com/ivmai/libatomic_ops'
+depends=(glibc)
+license=(GPL2 MIT)
+options=(!docs)
+source=($url/releases/download/v$pkgver/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('15676e7674e11bda5a7e50a73f4d9e7d60452271b8acf6fd39a71fefdf89fa31')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --disable-static --enable-shared
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Reply via email to