summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-21 16:02:12 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-21 16:02:12 +0100
commit7356ba78142b27696139851efacd25bee8428f54 (patch)
treedd4760ed61058fcb41a12cfd34b19ee6c5f67aa5 /pcr
parentaad4110eb3a4f97bb810e8727010be6cf78c1076 (diff)
downloadabslibre-7356ba78142b27696139851efacd25bee8428f54.tar.gz
abslibre-7356ba78142b27696139851efacd25bee8428f54.tar.bz2
abslibre-7356ba78142b27696139851efacd25bee8428f54.zip
pcr/guile-git-lib: added
Diffstat (limited to 'pcr')
-rw-r--r--pcr/guile-git-lib/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/pcr/guile-git-lib/PKGBUILD b/pcr/guile-git-lib/PKGBUILD
new file mode 100644
index 000000000..c0ee4e2b0
--- /dev/null
+++ b/pcr/guile-git-lib/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer (AUR): lantw44 (at) gmail (dot) com
+
+# parabola changes and rationale:
+# no changes.
+
+pkgname=guile-git-lib
+_pkgname=guile-git
+pkgver=0.0+170+g951a32c
+pkgrel=1
+pkgdesc='Guile bindings for libgit2'
+arch=('x86_64' 'i686' 'armv7h')
+url="https://gitlab.com/guile-git/guile-git"
+license=('GPL3')
+depends=('guile' 'guile-bytestructures' 'libgit2')
+makedepends=('git')
+_commit=951a32c56cc4d80f8836e3c7394783e69c1fcbad
+source=("git+https://gitlab.com/${_pkgname}/${_pkgname}.git#commit=${_commit}")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd ${srcdir}/${_pkgname}
+ printf "0.0+%s+g%s" \
+ "$(git rev-list HEAD | wc -l)" \
+ "$(git rev-list --max-count=1 HEAD | cut -c 1-7)"
+}
+
+build() {
+ cd ${srcdir}/${_pkgname}
+ ./bootstrap
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${srcdir}/${_pkgname}
+ make check || true # tests fail on i686
+}
+
+package() {
+ cd ${srcdir}/${_pkgname}
+ make DESTDIR="${pkgdir}" install
+}