From 7356ba78142b27696139851efacd25bee8428f54 Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Sun, 21 Jan 2018 16:02:12 +0100 Subject: pcr/guile-git-lib: added --- pcr/guile-git-lib/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pcr/guile-git-lib/PKGBUILD (limited to 'pcr') 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 +} -- cgit v1.2.3