[arch-commits] Commit in libbraiding/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:13:26 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:13:25
  Author: felixonmars
Revision: 659616

archrelease: copy trunk to community-staging-x86_64

Added:
  libbraiding/repos/community-staging-x86_64/
  libbraiding/repos/community-staging-x86_64/PKGBUILD
    (from rev 659615, libbraiding/trunk/PKGBUILD)

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

Copied: libbraiding/repos/community-staging-x86_64/PKGBUILD (from rev 659615, libbraiding/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:13:25 UTC (rev 659616)
@@ -0,0 +1,25 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=libbraiding
+pkgver=1.0
+pkgrel=4
+pkgdesc="Library to compute several properties of braids, including centralizer and conjugacy check"
+arch=(x86_64)
+url="https://github.com/miguelmarco/libbraiding"
+license=(GPL3)
+depends=(gcc-libs)
+source=("https://mirrors.mit.edu/sage/spkg/upstream/libbraiding/$pkgname-$pkgver.tar.gz")
+md5sums=('969f2f1f412c60e8ff1ea107f00a25b1')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}
+


More information about the arch-commits mailing list