summaryrefslogtreecommitdiff
path: root/libs/rhash/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'libs/rhash/MAKEPKG')
-rw-r--r--libs/rhash/MAKEPKG34
1 files changed, 34 insertions, 0 deletions
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