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

Felix Yan felixonmars at archlinux.org
Thu Oct 4 20:44:43 UTC 2018


    Date: Thursday, October 4, 2018 @ 20:44:42
  Author: felixonmars
Revision: 335763

archrelease: copy trunk to extra-x86_64

Added:
  rhash/repos/extra-x86_64/
  rhash/repos/extra-x86_64/PKGBUILD
    (from rev 335762, rhash/trunk/PKGBUILD)

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

Copied: rhash/repos/extra-x86_64/PKGBUILD (from rev 335762, rhash/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2018-10-04 20:44:42 UTC (rev 335763)
@@ -0,0 +1,52 @@
+# 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.3.6
+pkgrel=1
+
+pkgdesc='Utility for verifying hash sums of files'
+url='http://rhash.anz.ru/?l=en'
+license=('custom' 'MIT')
+arch=('x86_64')
+
+depends=('glibc')
+
+backup=('etc/rhashrc')
+
+source=(https://downloads.sourceforge.net/rhash/rhash-$pkgver-src.tar.gz{,.asc})
+
+sha256sums=('964df972b60569b5cb35ec989ced195ab8ea514fc46a74eab98e86569ffbcf92'
+            'SKIP')
+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-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