Date: Saturday, January 25, 2020 @ 10:06:24
  Author: arojas
Revision: 555404

archrelease: copy trunk to community-staging-x86_64

Added:
  m4ri/repos/community-staging-x86_64/
  m4ri/repos/community-staging-x86_64/PKGBUILD
    (from rev 555403, m4ri/trunk/PKGBUILD)

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

Copied: m4ri/repos/community-staging-x86_64/PKGBUILD (from rev 555403, 
m4ri/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-25 10:06:24 UTC (rev 555404)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Rémy Oudompheng <[email protected]>
+
+pkgname=m4ri
+pkgver=20200125
+pkgrel=1
+pkgdesc="Algorithms for linear algebra over F_2"
+arch=(x86_64)
+url="https://bitbucket.org/malb/m4ri";
+license=(GPL)
+depends=(libpng)
+source=(https://bitbucket.org/malb/m4ri/downloads/$pkgname-$pkgver.tar.gz)
+sha256sums=('0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-openmp
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+}

Reply via email to