Date: Thursday, October 4, 2018 @ 20:44:26
Author: felixonmars
Revision: 335762
community2extra: Moving rhash from community to extra
Added:
rhash/
rhash/repos/
rhash/trunk/
rhash/trunk/PKGBUILD
--+
PKGBUILD | 52
1 file changed, 52 insertions(+)
Added: rhash/trunk/PKGBUILD
===
--- rhash/trunk/PKGBUILD(rev 0)
+++ rhash/trunk/PKGBUILD2018-10-04 20:44:26 UTC (rev 335762)
@@ -0,0 +1,52 @@
+# Maintainer: Johannes Löthberg
+# Contributor: carstene1ns - http://git.io/ctPKG
+# Contributor: 謝致邦
+# Contributor: cantabile
+# Contributor: reMiND
+
+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
+}
Property changes on: rhash/trunk/PKGBUILD
___
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property