summaryrefslogtreecommitdiff
path: root/libs/rhash
diff options
context:
space:
mode:
Diffstat (limited to 'libs/rhash')
-rw-r--r--libs/rhash/.footprint39
-rw-r--r--libs/rhash/.signature6
-rw-r--r--libs/rhash/MAKEPKG34
3 files changed, 79 insertions, 0 deletions
diff --git a/libs/rhash/.footprint b/libs/rhash/.footprint
new file mode 100644
index 0000000..bb00bf5
--- /dev/null
+++ b/libs/rhash/.footprint
@@ -0,0 +1,39 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/rhash
+lrwxrwxrwx root/root usr/bin/ed2k-link -> rhash
+lrwxrwxrwx root/root usr/bin/edonr256-hash -> rhash
+lrwxrwxrwx root/root usr/bin/edonr512-hash -> rhash
+lrwxrwxrwx root/root usr/bin/gost12-256-hash -> rhash
+lrwxrwxrwx root/root usr/bin/gost12-512-hash -> rhash
+lrwxrwxrwx root/root usr/bin/has160-hash -> rhash
+lrwxrwxrwx root/root usr/bin/magnet-link -> rhash
+lrwxrwxrwx root/root usr/bin/sfv-hash -> rhash
+lrwxrwxrwx root/root usr/bin/tiger-hash -> rhash
+lrwxrwxrwx root/root usr/bin/tth-hash -> rhash
+lrwxrwxrwx root/root usr/bin/whirlpool-hash -> rhash
+drwxr-xr-x root/root usr/etc/
+-rw-r--r-- root/root usr/etc/rhashrc
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/rhash.h
+-rw-r--r-- root/root usr/include/rhash_torrent.h
+drwxr-xr-x root/root usr/lib/
+-rwxr-xr-x root/root usr/lib/librhash.so.1.4.6
+lrwxrwxrwx root/root usr/lib/librhash.so.1 -> librhash.so.1.4.6
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/librhash.pc
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/rhash.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/ed2k-link.1.gz -> rhash.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/edonr256-hash.1.gz -> rhash.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/edonr512-hash.1.gz -> rhash.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/gost12-256-hash.1.gz -> rhash.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/gost12-512-hash.1.gz -> rhash.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/has160-hash.1.gz -> rhash.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/magnet-link.1.gz -> rhash.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/sfv-hash.1.gz -> rhash.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/tiger-hash.1.gz -> rhash.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/tth-hash.1.gz -> rhash.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/whirlpool-hash.1.gz -> rhash.1.gz
diff --git a/libs/rhash/.signature b/libs/rhash/.signature
new file mode 100644
index 0000000..9dce3de
--- /dev/null
+++ b/libs/rhash/.signature
@@ -0,0 +1,6 @@
+RWTZ9IduCSQ/mOTdzxnJe0O1GkMON8QbgXMdxEe4PzZuv2GDeaXvohPlseu2a1fDYM521chUyXbdIbRmyXRpeFA2htyoFlGu7AU=
+
+SHA256 (MAKEPKG) = 917b7ecffd9b421c246abeb9b783006cbc38e2741e7a6958d0c2262606d77719
+SHA256 (.footprint) = c27feb638c35f99f9e429ab9cca2185b1c718a7347fa2a38a1a8cf07f4cb3906
+SHA256 (rhash-1.4.6.tar.gz) = 9f6019cfeeae8ace7067ad22da4e4f857bb2cfa6c2deaa2258f55b2227ec937a
+SHA256 (rhash#1.4.6-1.pkg.tar.gz) = 4079e25896c79138ccead516bb1a1758312adbde572f5b24d94ea61c3fc98df1
diff --git a/libs/rhash/MAKEPKG b/libs/rhash/MAKEPKG
new file mode 100644
index 0000000..dedb15a
--- /dev/null
+++ b/libs/rhash/MAKEPKG
@@ -0,0 +1,34 @@
+#!/bin/mkpkg
+# description: Library for computing hash sums
+# url: https://github.com/rhash/RHash
+
+name=rhash
+version=1.4.6
+release=1
+source=(https://github.com/rhash/RHash/archive/v$version/$name-$version.tar.gz)
+sha256sums=(
+ "9f6019cfeeae8ace7067ad22da4e4f857bb2cfa6c2deaa2258f55b2227ec937a"
+)
+
+build() {
+ cd RHash-$version
+
+ ./configure \
+ --prefix=/usr \
+ --disable-static \
+ --enable-lib-shared \
+ --extra-cflags="$CFLAGS" \
+ --extra-ldflags="$LDFLAGS"
+
+ make
+ make DESTDIR=$PKG install install-lib-headers
+
+ install -Dm644 dist/librhash.pc $PKG/usr/lib/pkgconfig/librhash.pc
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh