summaryrefslogtreecommitdiffstats
path: root/deps/telepathy/libsignon-glib/fetch-libsignon-glib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deps/telepathy/libsignon-glib/fetch-libsignon-glib.sh')
-rw-r--r--deps/telepathy/libsignon-glib/fetch-libsignon-glib.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/deps/telepathy/libsignon-glib/fetch-libsignon-glib.sh b/deps/telepathy/libsignon-glib/fetch-libsignon-glib.sh
new file mode 100644
index 0000000..fa11ce4
--- /dev/null
+++ b/deps/telepathy/libsignon-glib/fetch-libsignon-glib.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# Fetch a versioned tarball, and update the git submodules as well:
+
+VERSION=${VERSION:-2.1}
+
+git clone https://gitlab.com/accounts-sso/libsignon-glib.git libsignon-glib-${VERSION}
+cd libsignon-glib-${VERSION}
+ git submodule init
+ git submodule update
+ rm -rf .git*
+cd - 1>/dev/null
+tar -Jcf libsignon-glib-${VERSION}.tar.xz libsignon-glib-${VERSION}
+rm -rf libsignon-glib-${VERSION}
+