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

Johannes Löthberg demize at archlinux.org
Sat Mar 24 12:00:28 UTC 2018


    Date: Saturday, March 24, 2018 @ 12:00:28
  Author: demize
Revision: 311839

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-24 12:00:17 UTC (rev 311838)
+++ PKGBUILD	2018-03-24 12:00:28 UTC (rev 311839)
@@ -1,48 +0,0 @@
-# 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.5
-pkgrel=2
-
-pkgdesc='Utility for verifying hash sums of files'
-url='http://rhash.anz.ru/?l=en'
-license=('custom' 'MIT')
-arch=('i686' 'x86_64')
-
-depends=('glibc')
-
-backup=('etc/rhashrc')
-
-source=("https://downloads.sourceforge.net/rhash/rhash-$pkgver-src.tar.gz")
-
-sha256sums=('98e0688acae29e68c298ffbcdbb0f838864105f9b2bd8857980664435b1f1f2e')
-
-build() {
-  cd RHash-$pkgver
-  export ADDCFLAGS="$CFLAGS"
-  export ADDLDFLAGS="$LDFLAGS"
-  make build-shared
-  make -C librhash
-}
-
-check() {
-  cd RHash-$pkgver
-  make test-shared
-}
-
-package() {
-  cd RHash-$pkgver
-
-  # program
-  make PREFIX=/usr DESTDIR="$pkgdir" install-shared
-
-  # library
-  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
-}

Copied: rhash/repos/community-x86_64/PKGBUILD (from rev 311838, rhash/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-24 12:00:28 UTC (rev 311839)
@@ -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