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

Johannes Löthberg demize at archlinux.org
Tue Jan 1 18:10:31 UTC 2019


    Date: Tuesday, January 1, 2019 @ 18:10:31
  Author: demize
Revision: 342859

archrelease: copy trunk to community-x86_64

Added:
  rhash/repos/community-x86_64/
  rhash/repos/community-x86_64/PKGBUILD
    (from rev 342858, rhash/trunk/PKGBUILD)

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

Copied: rhash/repos/community-x86_64/PKGBUILD (from rev 342858, rhash/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-01-01 18:10:31 UTC (rev 342859)
@@ -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.7
+pkgrel=1
+
+pkgdesc='Utility for verifying hash sums of files'
+url='https://github.com/rhash/RHash'
+license=('custom' 'MIT')
+arch=('x86_64')
+
+depends=('glibc')
+
+backup=('etc/rhashrc')
+
+source=(https://downloads.sourceforge.net/rhash/rhash-$pkgver-src.tar.gz{,.asc})
+
+sha256sums=('a2441b7a04ae554ddd3eafcf50365c787b012e35ee6402eb6705d9cd4b8dfa65'
+            '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-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