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

Johannes Löthberg demize at archlinux.org
Tue Aug 29 17:04:05 UTC 2017


    Date: Tuesday, August 29, 2017 @ 17:04:04
  Author: demize
Revision: 254724

upgpkg: rhash 1.3.5-2

Modified:
  rhash/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-29 16:52:37 UTC (rev 254723)
+++ PKGBUILD	2017-08-29 17:04:04 UTC (rev 254724)
@@ -6,7 +6,7 @@
 
 pkgname=rhash
 pkgver=1.3.5
-pkgrel=1
+pkgrel=2
 
 pkgdesc='Utility for verifying hash sums of files'
 url='http://rhash.anz.ru/?l=en'
@@ -23,7 +23,10 @@
 
 build() {
   cd RHash-$pkgver
-  make ADDCFLAGS="$CFLAGS" ADDLDFLAGS="$LDFLAGS" build-shared
+  export ADDCFLAGS="$CFLAGS"
+  export ADDLDFLAGS="$LDFLAGS"
+  make build-shared
+  make -C librhash
 }
 
 check() {
@@ -38,7 +41,7 @@
   make PREFIX=/usr DESTDIR="$pkgdir" install-shared
 
   # library
-  make -C librhash PREFIX=/usr DESTDIR="$pkgdir" install-headers install-lib-shared install-lib-static
+  make -C librhash PREFIX=/usr DESTDIR="$pkgdir" install-headers install-lib-shared install-so-link
 
   # license
   install -Dm644 COPYING "$pkgdir"/usr/share/licenses/rhash/LICENSE



More information about the arch-commits mailing list