summaryrefslogtreecommitdiff
path: root/repo/core/git.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-12-23 14:36:47 +0000
committerdavidovski <david@davidovski.xyz>2021-12-23 14:36:47 +0000
commite48203392c33c2c80be46d2696ffc35a6ae17cd0 (patch)
tree534fce09dc64793e78c617f6d68870e9ceccd95d /repo/core/git.xibuild
parent65145ff4902e1a36869ed7a870a44e1159b2e45b (diff)
added git and curl
Diffstat (limited to 'repo/core/git.xibuild')
-rw-r--r--repo/core/git.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/core/git.xibuild b/repo/core/git.xibuild
new file mode 100644
index 0000000..899d9ea
--- /dev/null
+++ b/repo/core/git.xibuild
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+DEPS=(curl perl openssl pcre2 grep shadow zlib)
+
+SOURCE=https://www.kernel.org/pub/software/scm/git/git-2.34.1.tar.xz
+DESC="The free and open source, distributed version control system"
+
+build () {
+ ./configure --prefix=/usr \
+ --with-gitconfig=/etc/gitconfig \
+ --with-python=python3 &&
+ make
+ make man
+ make perllibdir=/usr/lib/perl5/5.34/site_perl DESTDIR=$PKG_DEST install
+ make DESTDIR=$PKG_DEST install-man
+
+}