aboutsummaryrefslogtreecommitdiff
path: root/extra/libgit2/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-28 11:59:26 +0300
committerCem Keylan <cem@ckyln.com>2020-01-28 11:59:26 +0300
commit8c3c676a8d9b2ad5adcc6097a3cbe5a3260d6069 (patch)
tree0afdddb885979b838f47186d55b1054dd81a9e14 /extra/libgit2/build
parentf117554619e46cfd780ed27ef03a9ab3809a924e (diff)
downloadrepository-8c3c676a8d9b2ad5adcc6097a3cbe5a3260d6069.tar.gz
libgit2: add package to extra
Diffstat (limited to 'extra/libgit2/build')
-rwxr-xr-xextra/libgit2/build7
1 files changed, 7 insertions, 0 deletions
diff --git a/extra/libgit2/build b/extra/libgit2/build
new file mode 100755
index 00000000..d172c0aa
--- /dev/null
+++ b/extra/libgit2/build
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+mkdir build && cd build
+
+cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+cmake --build .
+DESTDIR="$1" cmake --install .