summaryrefslogtreecommitdiff
path: root/libs/libstrophe/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libstrophe/MAKEPKG')
-rw-r--r--libs/libstrophe/MAKEPKG33
1 files changed, 33 insertions, 0 deletions
diff --git a/libs/libstrophe/MAKEPKG b/libs/libstrophe/MAKEPKG
new file mode 100644
index 0000000..f326b83
--- /dev/null
+++ b/libs/libstrophe/MAKEPKG
@@ -0,0 +1,33 @@
+#!/bin/mkpkg
+# description: Lightweight C library for writing XMPP clients
+# url: https://strophe.im/libstrophe/
+
+name=libstrophe
+version=0.14.0
+release=1
+depends=(libressl expat)
+source=(https://github.com/strophe/$name/releases/download/$version/$name-$version.tar.gz)
+sha256sums=(
+ "d079668474d5c3aa4555347c33e77014a1071629603557cc506a6bc6f82e01f5"
+)
+
+build() {
+ cd $name-$version
+ ./configure \
+ CC=clang \
+ --prefix=/usr \
+ --disable-static \
+ --with-libssl
+ make
+ make DESTDIR=$PKG install
+
+ # Remove docs
+ rm -rf $PKG/usr/share/doc
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh