[arch-commits] Commit in rhash/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Aug 10 16:48:42 UTC 2020


    Date: Monday, August 10, 2020 @ 16:48:42
  Author: felixonmars
Revision: 393527

archrelease: copy trunk to testing-x86_64

Added:
  rhash/repos/testing-x86_64/
  rhash/repos/testing-x86_64/PKGBUILD
    (from rev 393526, rhash/trunk/PKGBUILD)

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

Copied: rhash/repos/testing-x86_64/PKGBUILD (from rev 393526, rhash/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-08-10 16:48:42 UTC (rev 393527)
@@ -0,0 +1,54 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
+# Contributor: 謝致邦 <Yeking at Red54.com>
+# Contributor: cantabile <cantabile dot desu at gmail dot com>
+# Contributor: reMiND <detanator at gmail.com>
+
+pkgname=rhash
+pkgver=1.4.0
+pkgrel=1
+
+pkgdesc='Utility for verifying hash sums of files'
+url='https://github.com/rhash/RHash'
+license=('BSD')
+arch=('x86_64')
+
+depends=('glibc')
+
+backup=('etc/rhashrc')
+
+source=(rhash-$pkgver.tar.gz::https://github.com/rhash/RHash/archive/v$pkgver.tar.gz
+        rhash-$pkgver.tar.gz.asc::https://github.com/rhash/RHash/releases/download/v$pkgver/v$pkgver.tar.gz.asc)
+
+sha512sums=('2f02487fffe8d1bc70c4454829bbd250a15fbd09db5ef85c54d3e8ad1008e84616ea54483292deae45047a27964e27b26d9b3da8447e7c37dac1e2ce18a63a07'
+            'SKIP')
+# https://sourceforge.net/p/rhash/wiki/PublicKey/
+validpgpkeys=('2875F6B1C2D27A4F0C8AF60B2A714497E37363AE')
+
+prepare() {
+  cd RHash-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --extra-cflags="$CFLAGS" --extra-ldflags="$LDFLAGS"
+}
+
+build() {
+  cd RHash-$pkgver
+  make
+}
+
+check() {
+  cd RHash-$pkgver
+  make test test-lib
+}
+
+package() {
+  cd RHash-$pkgver
+
+  # program
+  make DESTDIR="$pkgdir" install
+
+  # library, since the makefiles are still broken
+  make -C librhash DESTDIR="$pkgdir" install-lib-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