From aad4110eb3a4f97bb810e8727010be6cf78c1076 Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Sun, 21 Jan 2018 15:49:29 +0100 Subject: pcr/guile-bytestructures: added --- pcr/guile-bytestructures/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pcr/guile-bytestructures/PKGBUILD (limited to 'pcr/guile-bytestructures/PKGBUILD') diff --git a/pcr/guile-bytestructures/PKGBUILD b/pcr/guile-bytestructures/PKGBUILD new file mode 100644 index 000000000..cb6610550 --- /dev/null +++ b/pcr/guile-bytestructures/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer (AUR): lantw44 (at) gmail (dot) com + +# parabola changes and rationale: +# no changes. + +pkgname=guile-bytestructures +_pkgname=scheme-bytestructures +pkgver=0.0+250+g7ed31b1 +pkgrel=1 +pkgdesc='Structured access library to bytevector contents for Guile' +arch=('x86_64' 'i686' 'armv7h') +url="https://github.com/TaylanUB/scheme-bytestructures" +license=('GPL3') +depends=('guile') +makedepends=('git') +_commit=7ed31b1e93a4bf8960f1d4aedbea84f4f594af6d +source=("git+https://github.com/TaylanUB/${_pkgname}#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} + autoreconf -fi + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${_pkgname} + make DESTDIR="${pkgdir}" install +} -- cgit v1.2.3