[arch-commits] Commit in symmetrica/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Jun 3 12:21:53 UTC 2019


    Date: Monday, June 3, 2019 @ 12:21:53
  Author: arojas
Revision: 476720

Build shared library

Modified:
  symmetrica/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-03 12:04:29 UTC (rev 476719)
+++ PKGBUILD	2019-06-03 12:21:53 UTC (rev 476720)
@@ -3,10 +3,11 @@
 
 pkgname=symmetrica
 pkgver=2.0
-pkgrel=6
+pkgrel=7
 pkgdesc="Algorithms for symmetric groups and classical groups"
 arch=(x86_64)
 url="http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/"
+depends=(glibc)
 license=(custom)
 source=('http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/SYM2_0_tar.gz' 'symmetrica-int32.patch' 'LICENSE')
 sha256sums=('bf52788dedc14c482e89f5e7efe8c60864a633314ddd446dd4602d5fdaca0ee2'
@@ -25,11 +26,11 @@
 build() {
   export CFLAGS="-fPIC $CFLAGS"
   make
-  ar crs libsymmetrica.a *.o
+  gcc -shared *.o -o libsymmetrica.so ${LDFLAGS}
 }
 
 package() {
-  install -D -m 644 libsymmetrica.a "$pkgdir"/usr/lib/libsymmetrica.a
+  install -D -m 755 libsymmetrica.so -t "$pkgdir"/usr/lib/
   mkdir -p "$pkgdir"/usr/include/symmetrica/
   install -m 644 *.h "$pkgdir"/usr/include/symmetrica/
 
@@ -36,4 +37,3 @@
   mkdir -p "$pkgdir"/usr/share/licenses/symmetrica
   install LICENSE "$pkgdir"/usr/share/licenses/symmetrica
 }
-


More information about the arch-commits mailing list