summaryrefslogtreecommitdiff
path: root/pcr/guile-bytestructures
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-21 15:49:29 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-21 15:49:29 +0100
commitaad4110eb3a4f97bb810e8727010be6cf78c1076 (patch)
tree078df60daa476605295bdbaab715b27a619cc9c5 /pcr/guile-bytestructures
parent9b91f49d027b473cf90ea057909af3b7b6807e58 (diff)
pcr/guile-bytestructures: added
Diffstat (limited to 'pcr/guile-bytestructures')
-rw-r--r--pcr/guile-bytestructures/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
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
+}