[arch-commits] Commit in libbraiding/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Aug 5 09:21:53 UTC 2019


    Date: Monday, August 5, 2019 @ 09:21:52
  Author: arojas
Revision: 497462

archrelease: copy trunk to community-x86_64

Added:
  libbraiding/repos/community-x86_64/PKGBUILD
    (from rev 497461, libbraiding/trunk/PKGBUILD)
Deleted:
  libbraiding/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-05 09:21:30 UTC (rev 497461)
+++ PKGBUILD	2019-08-05 09:21:52 UTC (rev 497462)
@@ -1,24 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=libbraiding
-pkgver=1.0
-pkgrel=2
-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=("http://mirrors.mit.edu/sage/spkg/upstream/libbraiding/$pkgname-$pkgver.tar.gz")
-md5sums=('969f2f1f412c60e8ff1ea107f00a25b1')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}
-

Copied: libbraiding/repos/community-x86_64/PKGBUILD (from rev 497461, libbraiding/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-05 09:21:52 UTC (rev 497462)
@@ -0,0 +1,25 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=libbraiding
+pkgver=1.0
+pkgrel=3
+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